-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft: send MsgAppResp after applying snapshot to both current leader …
…and original sender Previously, in the special scenario of a leader sending a snapshot to a follower, followed by a leadership change, the receiver of the snapshot does not send MsgAppResp to the new leader. This can cause delay in the new leader catching up this follower. This commit resolves that issue by having the follower(snapshot receiver) send MsgAppResp to both the original sender of the snapshot and the new leader. References: #134257 Epic: None Release note: None
- Loading branch information
Showing
2 changed files
with
41 additions
and
23 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