[DocDB] [Advisory Lock] Unexpected Deadlock Error And Wait Despite Lock Ownership #26122
Open
1 task done
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
qa_itest-system
Bugs identified in itest-system automation
QA
QA filed bugs
Jira Link: DB-15449
Description
Version: 2.25.1.0-b324
When using pg_advisory_lock() and pg_advisory_xact_lock() it appears that retries are exhausted, causing a deadlock error even when no deadlock occurs. If a session already holds a lock on a key, executing pg_advisory_xact_lock() within the same session should acquire the lock immediately, regardless of other sessions waiting for the same key. However, the query continues to wait and eventually fails with a deadlock error.
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: