You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kvserver: treat priority update as a success with onEnqueueResult
Previously, bq.addInternal invoked processCallback.onEnqueueResult with a newly
constructed error whenever a replica was already present and re-enqueued with a
higher priority, since the priority had to be passed dynamically. This commit
instead treats the case as a success and passes the updated heap index to
onEnqueueResult, as the caller mainly cares about whether the replica is already
in the queue and its new position.
0 commit comments