summaryrefslogtreecommitdiffstats
path: root/controller-server/src
diff options
context:
space:
mode:
authorbjormel <bjormel@verizonmedia.com>2023-03-30 14:35:46 +0000
committerbjormel <bjormel@verizonmedia.com>2023-03-30 14:35:46 +0000
commit0880a6cc94fe198bbd022479b3ab6576bb53efab (patch)
tree0600a05b29e3ea635be4ab7369d9141eddf22fb8 /controller-server/src
parent7ee10fc6bda1401c8bf18b3c6d6b80902f76eeeb (diff)
successFactorDeviation is negative
Diffstat (limited to 'controller-server/src')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/BcpGroupUpdater.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/BcpGroupUpdater.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/BcpGroupUpdater.java
index 37fb01fcf92..b8c7b5aef9b 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/BcpGroupUpdater.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/BcpGroupUpdater.java
@@ -76,9 +76,9 @@ public class BcpGroupUpdater extends ControllerMaintainer {
}
}
double successFactorDeviation = asSuccessFactorDeviation(attempts, failures);
- if ( successFactorDeviation == 1.0 )
+ if ( successFactorDeviation == -1.0 )
log.log(Level.WARNING, "Could not update traffic share on any applications", lastException);
- else if ( successFactorDeviation > 0.1 )
+ else if ( successFactorDeviation < -0.1 )
log.log(Level.FINE, "Could not update traffic share on all applications", lastException);
return successFactorDeviation;
}