Start DM will create a deadlock is user profile was never loaded #7870
Labels
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
With the new deferred DM flow when creating the local room entity, the current code will start a blocking write transaction:
and inside it
createLocalRoomEntity
will callDefaultCreateLocalRoomStateEventsTask
That itself will start a blocking write transaction via
userService.resolveUser(it)
that tries to store the profile in DBThe text was updated successfully, but these errors were encountered: