Otvoriť Uzavreté

Problem with Isolation Level #1128


User avatar
0
atakan.atik vytvorené
  • ABP Framework version: v4.1.0
  • UI type: Angular
  • DB provider: EF Core / MsSql
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

We have developed a project by using Abp Commercial. Currently we have 1 million users. But today we encountered a problem when we reached to 1000 users per minute. We tried to simulate the same scenerio in our development environment. We believe the problem is isolation level even though we set the isolation level to ReadUncommited, it still acts like ReadCommited. Please refer to following code to to check how we set the isolation level.

 using (var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: false, isolationLevel: IsolationLevel.ReadUncommitted))
            {
              ....
              return ...
             }

Any kind of help will be appreciated.


2 odpoveď(e)/dí
  • User Avatar
    0
    maliming vytvorené
    Tím podpory Fullstack Developer

    hi

    The IsolationLevel seems to need to work in the transaction. isTransactional: false

  • User Avatar
    0
    ServiceBot vytvorené
    Tím podpory Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11