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] Updates with no column references should acquire row-level locks #22994

Open
1 task done
karthik-ramanathan-3006 opened this issue Jun 24, 2024 · 0 comments
Open
1 task done
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@karthik-ramanathan-3006
Copy link
Contributor

karthik-ramanathan-3006 commented Jun 24, 2024

Jira Link: DB-11915

Description

Optimizations made to UPDATE (and INSERT ON CONFLICT DO UPDATE) queries can result in DocDB requests with ybctid defined but with no columns to update. Such requests are issued for the purpose of transactional correctness.
The current DocDB behavior skips over such requests -- that is, it does not lock rows when the request has no columns to update.

This issue seeks to modify this behavior.

More details TBD.

Issue Type

kind/bug

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

  • I confirm this issue does not contain any sensitive information.
@karthik-ramanathan-3006 karthik-ramanathan-3006 added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Jun 24, 2024
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 24, 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/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants