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

release-19.2: storage: write to local storage before updating liveness #41764

Merged

Conversation

irfansharif
Copy link
Contributor

@irfansharif irfansharif commented Oct 21, 2019

Backport 1/1 commits from #41761.

+cc @cockroachdb/release


Previously a disk stall could allow a node to continue heartbeating its
liveness record and prevent other nodes from taking over its leases,
despite being completely unresponsive.

This was first addressed in #24591 (+ #33122). This was undone in #32978
(which introduced a stricter version of a similar check). #32978 was
later disabled by default in #36484, leaving us without the protections
first introduced in #24591. This PR re-adds the logic from #24591.

Part of #41683.

Release note (bug fix): Previously a disk stall could allow a node to continue heartbeating its liveness record and prevent other nodes from taking over its leases, despite being completely unresponsive..

Previously a disk stall could allow a node to continue heartbeating its
liveness record and prevent other nodes from taking over its leases,
despite being completely unresponsive.

This was first addressed in cockroachdb#24591 (+ cockroachdb#33122). This was undone in cockroachdb#32978
(which introduced a stricter version of a similar check). cockroachdb#32978 was
later disabled by default in cockroachdb#36484, leaving us without the protections
first introduced in cockroachdb#24591. This PR re-adds the logic from cockroachdb#24591.

Release note: None.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@irfansharif irfansharif requested a review from bdarnell October 21, 2019 15:57
@irfansharif
Copy link
Contributor Author

bors r=bdarnell

@irfansharif
Copy link
Contributor Author

bors retry

@irfansharif irfansharif changed the title release-19.2: storage: write to local storage before updating liveness release-19.2: storage: write to local storage before updating… Oct 21, 2019
@irfansharif irfansharif merged commit 03f94d8 into cockroachdb:release-19.2 Oct 21, 2019
@irfansharif irfansharif deleted the backport19.2-41761 branch October 21, 2019 18:30
@irfansharif irfansharif changed the title release-19.2: storage: write to local storage before updating… release-19.2: storage: write to local storage before updating liveness Oct 21, 2019
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