Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(engine): update the key generator on replay
On replay, update the key generator with the replayed record's key. This fixes an issue where the follower would restart with a snapshot where nothing needed to be replayed, and would thus not update its generated key, leading to processing starting with the wrong key and duplicate keys, causing state inconsistencies.
- Loading branch information