-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VSR: Fix liveness for io_depth_write overflow when replicas <= 2
Where `config.pipelining_max` exceeds `config.io_depth_write` it's possible for a client request to be unable to acquire a write IOP if we have maxed out our IO depth. This can lead to deadlock for a cluster of one or two, since there is no other way for the leader to repair the dirty op because no other replica has it. The fix is for `on_prepare_timeout()` to retry the prepare. Reported-by: @ThreeFx Fixes: #5
- Loading branch information
1 parent
f35002d
commit eb423c3
Showing
3 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters