summaryrefslogtreecommitdiffstats
path: root/node-repository
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-02-19 21:03:19 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-02-19 21:03:19 +0100
commitbce7902f8cbadb805b38a5e5b39640ed092d3d71 (patch)
tree85307fed1c12d70e1a0b8e9abd4c61329beff798 /node-repository
parentb4b323749c7f1ea6aa64190bcf61c13baebfa3dd (diff)
Re-evaluate quiescence when deployment is ready
Diffstat (limited to 'node-repository')
-rw-r--r--node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/DedicatedClusterControllerClusterMigrator.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/DedicatedClusterControllerClusterMigrator.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/DedicatedClusterControllerClusterMigrator.java
index a96a307b424..375fb16dc76 100644
--- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/DedicatedClusterControllerClusterMigrator.java
+++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/DedicatedClusterControllerClusterMigrator.java
@@ -56,6 +56,11 @@ public class DedicatedClusterControllerClusterMigrator extends ApplicationMainta
}
@Override
+ protected boolean canDeployNow(ApplicationId id) {
+ return isQuiescent(id);
+ }
+
+ @Override
protected void deploy(ApplicationId id) {
migrate(id);
super.deploy(id);