cockroachdb / cockroachdb/cockroach
kv: ignore pushed intent without Raft consensus [virtualized intent resolution]
Open
A-kv-transactions
A-non-blocking-reads
A-read-committed
C-enhancement
T-kv
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Sibling to https://github.com/cockroachdb/cockroach/issues/94728.
If a reader succeeds in pushing the transaction record of a conflicting intent above its read timestamp, it should be able to proceed with its read without immediately resolving that intent at a higher timestamp. Instead, it should remember that the intent is not conflicting while scanning and ignore its provisional value.
The rewrite incurs a Raft consensus round. As a result, reads need to perform writes to move conflicting intents out of their way. This is undesirable.
Jira issue: CRDB-23105
Epic CRDB-38938
Contributor guide
Assessment
This issue has not been assessed yet.