Skip to content

kv/tscache: remove propagation of synthetic timestamp bit#117015

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
nvb:nvanbenschoten/synTimestampRem
Jan 4, 2024
Merged

kv/tscache: remove propagation of synthetic timestamp bit#117015
craig[bot] merged 2 commits intocockroachdb:masterfrom
nvb:nvanbenschoten/synTimestampRem

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Dec 22, 2023

Informs #101938.

This commit is essentially a revert of cc61e09. It removes the propagation of the synthetic flag through the timestamp cache.

This flag has been deprecated since v22.2 and is no longer consulted in uncertainty interval checks or by transaction commit-wait. It does not need to be propagated from readers to writers during read-write txn conflicts.

Release note: None

@nvb nvb requested a review from arulajmani December 22, 2023 16:11
@nvb nvb requested a review from a team as a code owner December 22, 2023 16:11
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

nvb added 2 commits January 2, 2024 22:50
Informs cockroachdb#101938.

This commit is essentially a revert of cc61e09. It removes the
propagation of the synthetic flag through the timestamp cache.

This flag has been deprecated since v22.2 and is no longer consulted in
uncertainty interval checks or by transaction commit-wait. It does not
need to be propagated from readers to writers during read-write txn
conflicts.

Release note: None
Small cleanup. Would have prevented an initial bug in previous commit.

Epic: None
Release note: None
@nvb nvb force-pushed the nvanbenschoten/synTimestampRem branch from d92ded7 to f29448b Compare January 3, 2024 03:52
Copy link
Copy Markdown
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 4 of 4 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @nvanbenschoten)

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Jan 4, 2024

TFTR!

bors r+

@craig craig bot merged commit 008b692 into cockroachdb:master Jan 4, 2024
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 4, 2024

Build succeeded:

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.

3 participants