Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Calvin Neo <[email protected]>
  • Loading branch information
CalvinNeo committed Aug 13, 2024
1 parent d395f16 commit 92a915d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proxy_tests/proxy/shared/fast_add_peer/fp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -947,8 +947,9 @@ fn test_single_replica_migrate() {

// Test MsgSnapshot before MsgAppend
/// According to https://github.com/tikv/raft-rs/blob/2aefbf627f243dd261b7585ef1250d32efd9dfe7/src/raft.rs#L842,
/// if log is truncated in Leader, a MsgSnapshot may be sent directly before a MsgAppend.
/// If such MsgSnapshot is received when a FAP snapshot IS BUILDING, then it will be dropped.
/// if log is truncated in Leader, a MsgSnapshot may be sent directly before a
/// MsgAppend. If such MsgSnapshot is received when a FAP snapshot IS BUILDING,
/// then it will be dropped.
#[test]
fn test_msgsnapshot_before_msgappend() {
let (mut cluster, pd_client) = new_mock_cluster_snap(0, 2);
Expand Down

0 comments on commit 92a915d

Please sign in to comment.