diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-01-25 21:06:52 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-01-25 21:06:52 +0100 |
commit | 91d5b1c4b828b8c8a85c40ed0a507533e7c2aa47 (patch) | |
tree | 098d11716acfb5bc3f1498ea50bf1b2162bde3e9 /controller-server | |
parent | db8398109702b1af78a8b613e31741fece882ce9 (diff) |
Treat newly provisioned nodes as allowed to be down
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/NodeList.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/NodeList.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/NodeList.java index 32d76ba87f7..d3533fc5200 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/NodeList.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/NodeList.java @@ -68,7 +68,7 @@ public class NodeList extends AbstractFilteringList<NodeWithServices, NodeList> /** The nodes currently allowed to be down. */ public NodeList allowedDown() { - return matching(node -> node.isAllowedDown()); + return matching(node -> node.isAllowedDown() || node.isNewlyProvisioned()); } /** The nodes which have been suspended since before the given instant. */ |