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
fix(restore): do not retry restore proposal (#8058) (#9017)
Do not retry the restore proposal. It can cause issues in the edge case
scenarios. Consider the following scenario:
1. alpha-2 gets the restore request (leader is alpha-0)
2. alpha-2 sends the request to alpha-0 (leader).
3. alpha-0 called proposeAndWait which proposed the req (index 24) at
time=15:56:10
4. alpha-0 was still waiting for the proposal to be applied and RPC call
for `Restore` by alpha-2 got "transport closing error" at time=15:59:08
5. transport closing is a retriable error, so alpha-2 again tried to
proposeoOrSend, this time leader was alpha-1, so it sent it to alpha-1
6. alpha-1 proposed the restore request (index 28) at time=15:59:09
0 commit comments