You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is potential deadlock by using Create/Alter/Delete user statements.
Database::Checkout dcoHolder(dbb) in dyn_user function releases lock on dbb_sync, at this time we hold dbb_mutexes[DBB_MUTX_dyn]. Another thread can get lock on dbb_sync in GDS_DDL and it will try to get lock on dbb_mutexes[DBB_MUTX_dyn]. In that case deadlock is occur.
Submitted by: @alexpotapchenko
Relate to CORE2184
There is potential deadlock by using Create/Alter/Delete user statements.
Database::Checkout dcoHolder(dbb) in dyn_user function releases lock on dbb_sync, at this time we hold dbb_mutexes[DBB_MUTX_dyn]. Another thread can get lock on dbb_sync in GDS_DDL and it will try to get lock on dbb_mutexes[DBB_MUTX_dyn]. In that case deadlock is occur.
Commits: ebad313
The text was updated successfully, but these errors were encountered: