Skip to content

Commit

Permalink
fix: signal apply fiber to exit after mark install status
Browse files Browse the repository at this point in the history
  • Loading branch information
areyouok committed Dec 6, 2024
1 parent 31c6c67 commit 235cc89
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ private FrameCallResult startInstall(RaftStatusImpl raftStatus) {
}
log.info("start install snapshot, groupId={}", groupId);
raftStatus.setInstallSnapshot(true);
gc.getApplyManager().apply(); // signal apply fiber to exit
gc.getStatusManager().persistAsync(true);
return gc.getStatusManager().waitUpdateFinish(this::afterStatusPersist);
}
Expand Down

0 comments on commit 235cc89

Please sign in to comment.