Deadlock with TIP page lock and monitoring lock [CORE4627] #4942
Submitted by: Yurij (yurij)
firebird.log contains messages like
page NNN, page type 3 lock denied (216)
====== Test Details ======
Have no idea how to encounter new lines in firebird.log.
The text was updated successfully, but these errors were encountered:
Commented by: @hvlad
1. Locks, involved into deadlock
LOCK BLOCK 635472
LOCK BLOCK 557236
LOCK BLOCK 635472 - this is a monitoring lock
Owner 18744 hold lock 635472 (monitoring lock) and acquires lock 557236 (page lock).
Memory dump helps to see what lock owners doing:
OWNER BLOCK 262568
OWNER BLOCK 18744
Owner 18744 is attached to the database. It is already initialized its monitoring lock, and run some system queries to complete attachment initialization.
dbb_ast_flags 0x204 // DBB_monitor_off | DBB_assert_locks
It is in a wrong state - DBB_monitor_off should be set only if monitoring lock is released !
Modified by: @pavel-zotov
status: Resolved [ 5 ] => Resolved [ 5 ]
QA Status: Deferred
Test Details: Have no idea how to encounter new lines in firebird.log.