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

kv/closedts: remove use and propagation of synthetic timestamp bit #117016

Merged

Conversation

nvanbenschoten
Copy link
Member

@nvanbenschoten nvanbenschoten commented Dec 22, 2023

Informs #101938.

This PR removes the handling of synthetic timestamps from the closed timestamp tracker data structure.

It then stops setting the synthetic timestamp bit on the closed timestamps selected for ranges with a LEAD_FOR_GLOBAL_READS closed timestamp policy.

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 evaluating requests to the closed timestamp.

Release note: None

@nvanbenschoten nvanbenschoten requested a review from a team as a code owner December 22, 2023 16:14
@nvanbenschoten nvanbenschoten requested a review from a team December 22, 2023 16:14
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@nvanbenschoten
Copy link
Member Author

Rebasing on #117098 to fix CI.

@nvanbenschoten nvanbenschoten force-pushed the nvanbenschoten/synTimestampClosedTs branch from 333f79a to d2a8f00 Compare December 27, 2023 02:27
@nvanbenschoten nvanbenschoten requested review from a team as code owners December 27, 2023 02:27
@nvanbenschoten nvanbenschoten requested review from mgartner and jayshrivastava and removed request for a team December 27, 2023 02:27
Informs cockroachdb#101938.

This commit removes the handling of synthetic timestamps from the closed
timestamp tracker data structure.

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 evaluating requests to the closed timestamp.

Release note: None
Informs cockroachdb#101938.

This commit stops setting the synthetic timestamp bit on the closed
timestamps selected for ranges with a LEAD_FOR_GLOBAL_READS closed
timestamp policy.

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 evaluating requests to the closed timestamp.

Release note: None
@nvanbenschoten nvanbenschoten force-pushed the nvanbenschoten/synTimestampClosedTs branch from d2a8f00 to e8440fc Compare December 27, 2023 18:57
Copy link
Contributor

@erikgrinaker erikgrinaker 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 3 of 3 files at r1, 6 of 6 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jayshrivastava and @mgartner)

@nvanbenschoten
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 2, 2024

Build succeeded!

And happy new year! 🎉

@craig craig bot merged commit a378e2e into cockroachdb:master Jan 2, 2024
8 of 9 checks passed
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