mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

We should return token to that bucket if `nonUniqueWriteLimiter.Take()` return true. After unlock Delete/LeaseRevoke ops, the model should be updated for replay function. There are two updates for `toWatchEvents`. 1. When leaveRevokes op has deleted few keys, we should generate `delete-operation` events based on alphabetical order of deleted keys. 2. When putWithLease op hits non-exist lease, we should ignore that update event. Signed-off-by: Wei Fu <fuweid89@gmail.com>