Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't unconditionally send consumer snapshot when becoming leader (#4965
) Feasibly a Raft node that is keeping up with its peers can become a leader regardless of whether or not the upper layer is caught up with its applies. Since the leader change notification to the upper state machine could interleave with the apply queue, then unconditionally sending a snapshot as a new append entry on consumer leader transitions could cause the rest of the group to revert to an earlier consumer state. Signed-off-by: Neil Twigg <neil@nats.io>
- Loading branch information