cockroachdb / cockroachdb/cockroach

kvcoord: verify that distributed processors never read outside expected spans

Open
#151,156 0 comments 0 reactions 1 assignee Claimed by @DrewKimball View on GitHub
A-buffered-writes C-cleanup O-qa T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

With #147853, we construct an interval tree for leaf transactions that captures the set of spans from which the leaf txn might read. This allows a reduced set of writes to be shipped with the leaf txn by the write pipeliner and write buffer. We should add some test-build-only validation that processors never read outside those spans. It may be helpful to construct the read tree and validate even for root txns that haven't performed writes in order to increase test coverage.

Jira issue: CRDB-53095

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.