-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
rfc: system.region_liveness #107966
rfc: system.region_liveness #107966
Conversation
within 15 seconds, `unavailalbe_at` is set to start the process of fencing out | ||
the region. | ||
|
||
15 seconds is chosen because it gives enough time for leases to transfer in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any setting this number is based on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the value we care about here is COCKROACH_RANGE_LEASE_DURATION.
Line 192 in 126274a
defaultRangeLeaseDuration = envutil.EnvOrDefaultDuration( |
But the sql server's may not have the kv server's configuration for that value.
Just my initial pass, I'll take another deeper look tomorrow |
Create draft RFC for the `system.region_liveness` table. Informs: CC-24173 Release note: none
263a6ab
to
4068ff2
Compare
TYFT the reviews 😄 I replied to all of your comments and adjusted the RFC based on your feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @chrisseto and @jeffswenson)
bors r+ |
Build succeeded: |
Create draft RFC for the
system.region_liveness
table.Informs: CC-24173
Release note: none