Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cluster): Don't miss keys when migrating slots (#3218)
In rare cases, the fuzzy cluster migration test detected missing keys. It turns out that the missing keys were skipped at the source side due to contention: * The OnDbChange callback registered and got a `snapshot_id` * It then blocked on a mutex, and could not add itself to the list of callbacks * When the mutex was released, it registered, but it missed all changes that happened between registering (`snapshot_id`) and the moment it registered
- Loading branch information