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

kvclient/rangefeed: emit checkpoint events #70317

Merged

Conversation

irfansharif
Copy link
Contributor

@irfansharif irfansharif commented Sep 16, 2021

Grafted from #69269. This seems like a useful primitive for users of
this library. We intend to use it in #69661 and #69614.

Release note: None

@irfansharif irfansharif requested a review from a team as a code owner September 16, 2021 15:27
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

A test might be nice. I don't think it should be too hard. Namely, write a value and then make sure that you get a checkpoint after you write the value for a timestamp later than the value. You can adjust the closed timestamp interval to make this happen quickly.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @arulajmani)

@irfansharif irfansharif force-pushed the 210916.rangefeed-emit-checkpoints branch from 72e9869 to 598c6f7 Compare September 20, 2021 17:55
Copy link
Contributor Author

@irfansharif irfansharif left a comment

Choose a reason for hiding this comment

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

Added, PTAL.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @arulajmani)

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

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

@irfansharif irfansharif force-pushed the 210916.rangefeed-emit-checkpoints branch from 598c6f7 to ae23796 Compare September 21, 2021 01:54
@irfansharif
Copy link
Contributor Author

bors r+

@irfansharif
Copy link
Contributor Author

bors r-

@craig
Copy link
Contributor

craig bot commented Sep 21, 2021

Canceled.

@irfansharif irfansharif force-pushed the 210916.rangefeed-emit-checkpoints branch from ae23796 to 06134ae Compare September 21, 2021 03:15
@irfansharif
Copy link
Contributor Author

bors single on

@irfansharif
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 21, 2021

Build failed:

@irfansharif irfansharif force-pushed the 210916.rangefeed-emit-checkpoints branch from 06134ae to 88a91c6 Compare September 21, 2021 14:33
Grafted from cockroachdb#69269. This seems like a useful primitive for users of
this library. We intend to use it in cockroachdb#69661 and cockroachdb#69614.

Release note: None

Co-authored-by: irfan sharif <[email protected]>
@irfansharif irfansharif force-pushed the 210916.rangefeed-emit-checkpoints branch from 88a91c6 to e14a0a1 Compare September 21, 2021 16:46
@irfansharif
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 21, 2021

Build failed:

@irfansharif
Copy link
Contributor Author

I'm not really sure what's up with the bors failure. I assume it's some flake, cause regular github CI is green. Let a brother merge before PTO!

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 21, 2021

Build succeeded:

@craig craig bot merged commit 97e8f59 into cockroachdb:master Sep 21, 2021
@irfansharif irfansharif deleted the 210916.rangefeed-emit-checkpoints branch September 22, 2021 00:16
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