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

cherry-pick 2.0: distsqlrun: generate TxnCoordMeta in processors that weren't doing it #24609

Merged

Conversation

andreimatei
Copy link
Contributor

Cherry-pick of #24414

Every processor that uses the flow's txn needs to send metadata about
its reads to the root client.Txn/TxnCoordSender. The most critical thing
in that metadata is the read spans. Only the TableReader was doing it,
but more processors need to.

Fixes #24385

Release note: Fix a possible problem with transactions performing joins doing inconsistent reads.

cc @cockroachdb/release

Every processor that uses the flow's txn needs to send metadata about
its reads to the root client.Txn/TxnCoordSender. The most critical thing
in that metadata is the read spans. Only the TableReader was doing it,
but more processors need to.

Fixes cockroachdb#24385

Release note: None
@andreimatei andreimatei requested review from a team April 9, 2018 19:17
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@andreimatei andreimatei merged commit 3e44219 into cockroachdb:release-2.0 Apr 9, 2018
@andreimatei andreimatei deleted the cherrypick-read-spans branch April 9, 2018 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants