Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DocDB] TableLocks: Handle abort of a deadlocked virtual transaction #24628

Open
1 task done
basavaraj29 opened this issue Oct 25, 2024 · 0 comments
Open
1 task done
Assignees
Labels
area/docdb YugabyteDB core features kind/new-feature This is a request for a completely new feature priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@basavaraj29
Copy link
Contributor

basavaraj29 commented Oct 25, 2024

Jira Link: DB-13685

Description

Once #24596 lands, we could run into scenarios where the deadlock cycle contains virtual txns alone and no regular distributed txn (with object locks / advisory locks enabled).

We need to handle the abort path for a virtual transaction. We should have a mechanism to unblock the waiting requests at the object lock manager (as there is no regular txn, all the waiting requests would have been at the OLM itself), but not abort the virtual txn itself (since that corresponds to the host pg session).

Issue Type

kind/new-feature

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@basavaraj29 basavaraj29 added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Oct 25, 2024
@basavaraj29 basavaraj29 self-assigned this Oct 25, 2024
@yugabyte-ci yugabyte-ci added kind/new-feature This is a request for a completely new feature priority/medium Medium priority issue labels Oct 25, 2024
@basavaraj29 basavaraj29 changed the title [DocDB] Handle abort of a deadlocked virtual transaction [DocDB] TableLocks: Handle abort of a deadlocked virtual transaction Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/new-feature This is a request for a completely new feature priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants