Open Closed

Problem with Isolation Level #1128


User avatar
0
atakan.atik created
  • 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 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

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

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

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

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09