Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
balazskreith committed Sep 30, 2024
1 parent b3f71c3 commit 532e74a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/raft/RaftLeaderState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export function createRaftLeaderState(context: RaftLeaderStateContext): RaftStat

logger.warn('%s Peer %s is unsynced for a long time, we remove it from the cluster');
raftEngine.events.emit('unsynced-peer', peerId);
unsyncedRemotePeers.delete(peerId);
}
} else if (0 < unsyncedRemotePeers.size) {
if (unsyncedRemotePeers.delete(peerId)) {
Expand Down

0 comments on commit 532e74a

Please sign in to comment.