-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the salvageRevisionCounterDisabledReplicas logic
The old logic is that: 1. Filter replica candidates to keep only replicas which was modified within the last 5 seconds from the last modified replica 2. Then filter to keep only replicas with head size equals to the biggest one 3. Then pick a random replica from the set The new logic: 1. Filter replica candiates to keep only replicas which was modified within the last 5 seconds from the last modified replica 2. Then filter to keep only replicas with head size equal to the biggest one 3. Then pick the last modified replica from the set longhorn-8659 longhorn-8563 Signed-off-by: Phan Le <phan.le@suse.com>
- Loading branch information
1 parent
af60e85
commit da4be69
Showing
2 changed files
with
20 additions
and
21 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