Skip to content

Commit

Permalink
Merge pull request #32740 from vespa-engine/hmusum/abort-NodeFailer-e…
Browse files Browse the repository at this point in the history
…arly-if-shutting-down
  • Loading branch information
hmusum authored Nov 1, 2024
2 parents 89668f2 + ee79c6c commit b9be442
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ protected double maintain() {
int throttledNodeFailures = 0;

for (FailingNode failing : findActiveFailingNodes()) {
if (shuttingDown())
return asSuccessFactorDeviation(attempts, failures);

attempts++;
if (!failAllowedFor(failing.node().type())) continue;

Expand Down

0 comments on commit b9be442

Please sign in to comment.