Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/consensus: fixed validating configuration change in leader transfer
In redpanda raft implementation supports relaxed consistency. With relaxed consistency we not always update `_commit_index` even tho entries were replicated to all the nodes. When performing leadership transfer we need to take that into account. When configuration is successfully replicated to majority of nodes and it is not in joint consensus state we are safe to proceed with the transfer. Signed-off-by: Michal Maslanka <michal@vectorized.io> (cherry picked from commit 42d3d54)
- Loading branch information