Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
3.1.0.Final
-
None
-
-
NEW
-
NEW
Description
If I have multiple realms being created or deleted at the same time via API I am getting a bunch of deadlocks reported by the JDBC driver which causes the requests to fail.
I've attached both the wildfly log that shows the JDBC errors and a SQL Server Profiler trace that has capture the deadlocks. Almost all the deadlocks are in KEYCLOAK_ROLE. The last couple appear to be in COMPONENT_CONFIG but I'm not sure if that's actually an issue or a side affect of the previous issues.
I've tested this with Postgres and I don't run into any deadlock issues there so it seems to be strictly an MSSQL problem.
I also looked at KEYCLOAK-3210 but flipping the parameter doesn't have any affect
Attachments
Issue Links
- blocks
-
KEYCLOAK-4966 Tracker: MSSQL deadlocks
-
- Closed
-
- is related to
-
KEYCLOAK-4593 Support having large number of realms
-
- Plan
-
- relates to
-
KEYCLOAK-5411 MSSQL client creation deadlocks
-
- Closed
-