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

roachpb: fix comment on Lease.Start #55830

Merged
merged 1 commit into from
Oct 21, 2020

Conversation

andreimatei
Copy link
Contributor

@andreimatei andreimatei commented Oct 21, 2020

A comment said that the start time of an epoch-based lease is
ignored, but that's not true. For example, the tscache is reset to the
lease's start time.

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

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

:lgtm: though I think the commit message is incorrect. You meant "the tscache is reset to the lease's start time.", right?

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

A comment said that the start time of an epoch-based lease is
ignored, but that's not true. For example, the tscache is reset to the
lease's start time.

Release note: None
@andreimatei
Copy link
Contributor Author

right, fixed

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 21, 2020

Build succeeded:

@craig craig bot merged commit 11bbfb6 into cockroachdb:master Oct 21, 2020
@andreimatei andreimatei deleted the small.lease-proto-comments branch January 20, 2022 16:26
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