Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a node with a failed reusable replica as still used (backport #2650) #2677

Merged
merged 3 commits into from
Mar 8, 2024

Commits on Mar 7, 2024

  1. Consider a node with a failed replica as still used

    Only do this for the purposes of scheduling new replicas. Maintain
    previous behavior when checking for reusable replicas.
    
    Longhorn 8043
    
    Signed-off-by: Eric Weber <eric.weber@suse.com>
    (cherry picked from commit 29a895c)
    ejweber authored and mergify[bot] committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    cac52c0 View commit details
    Browse the repository at this point in the history
  2. Refine scheduling behavior with failed replicas

    Consider a node with a failed replica as used if the failed replica is
    potentially reusable and replica-replenishment-wait-interval hasn't expired.
    
    Longhorn 8043
    
    Signed-off-by: Eric Weber <eric.weber@suse.com>
    (cherry picked from commit 65ceb37)
    ejweber authored and mergify[bot] committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    e445cdb View commit details
    Browse the repository at this point in the history
  3. Simplify logic in timeToReplacementReplica

    Longhorn 8043
    
    Signed-off-by: Eric Weber <eric.weber@suse.com>
    (cherry picked from commit e685946)
    ejweber authored and mergify[bot] committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    ea4d0a1 View commit details
    Browse the repository at this point in the history