cockroachdb / cockroachdb/cockroach

kv: ignore pushed intent without Raft consensus [virtualized intent resolution]

Open
#94,730 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.