[DocDB] Updates with no column references should acquire row-level locks #22994
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
status/awaiting-triage
Issue awaiting triage
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
The text was updated successfully, but these errors were encountered: