Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(restore): Do not retry restore proposal (#8058)
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
- Loading branch information