summaryrefslogtreecommitdiffstats
path: root/orchestrator-restapi
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2018-10-31 21:05:12 +0100
committerGitHub <noreply@github.com>2018-10-31 21:05:12 +0100
commit875c0cb04d0f0450bfb68d8e548fcaea6022bd49 (patch)
tree9c3b311dcbc9f7569ffc56939273f3f26831b311 /orchestrator-restapi
parent3db4288215479f38f7db9c1ddeeceb69a8ff93e5 (diff)
Revert "Enforce CC timeouts in Orchestrator [4]"
Diffstat (limited to 'orchestrator-restapi')
-rw-r--r--orchestrator-restapi/src/main/java/com/yahoo/vespa/orchestrator/restapi/HostSuspensionApi.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/orchestrator-restapi/src/main/java/com/yahoo/vespa/orchestrator/restapi/HostSuspensionApi.java b/orchestrator-restapi/src/main/java/com/yahoo/vespa/orchestrator/restapi/HostSuspensionApi.java
index 9535096af4f..603d6a1adac 100644
--- a/orchestrator-restapi/src/main/java/com/yahoo/vespa/orchestrator/restapi/HostSuspensionApi.java
+++ b/orchestrator-restapi/src/main/java/com/yahoo/vespa/orchestrator/restapi/HostSuspensionApi.java
@@ -22,9 +22,13 @@ public interface HostSuspensionApi {
String PATH_PREFIX = "/v1/suspensions/hosts";
/**
- * Ask for permission to temporarily suspend all services on a set of hosts (nodes).
+ * Ask for permission to temporarily suspend all services on a set of hosts.
*
- * See HostApi::suspend for semantics of suspending a node.
+ * See HostApi::suspend for semantics of suspending a host.
+ *
+ * On failure, it tries to resume ALL hosts. It needs to try to resume all hosts because any or all hosts
+ * may have been suspended in an earlier attempt. Ending with resumption of all hosts makes sure other
+ * batch-requests for suspension of hosts succeed.
*/
@PUT
@Path("/{hostname}")