Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: ignore non-live probing follower during log truncation
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.
- Loading branch information