-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
34502: storage: ignore non-live probing follower during log truncation r=petermattis a=tbg Need to write tests and such, but I wanted to at least post this before the weekend. ---- In the previous code, a follower in probing status which was not recently active (i.e. a dead node) would permanently suppress log truncations unless the Raft log was above threshold size (but the size tracks only what the current leaseholder has written, i.e., it can undercount dramatically). As a result, snapshots to other nodes would get blocked if the log was in fact large (>16mb), leading to ranges which effectively couldn't change their set of members. Release note (bug fix): Prevent a problem that would cause the Raft log to grow very large which in turn could prevent replication changes. Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
- Loading branch information
Showing
2 changed files
with
51 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters