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: update local store pool directly with AllocationChangeReplicasOp
Previously, `change.Op.ApplyImpact` was used to update the replicateQueue's
local store pool state after a successful change replica call to reflect the
result of applying the operation. But in practice only
`AllocationChangeReplicasOp` used it - other ops update the store pool directly.
This commit updates `AllocationChangeReplicasOp` to also update the local store
pool directly after a successful `repl.changeReplicasImpl`.
In a follow-up, we'll remove `ApplyImpact` from the `AllocationOp` interface
entirely, since it adds an unnecessary layer of indirection without providing
much value.
0 commit comments