diff options
author | Harald Musum <musum@oath.com> | 2018-10-31 21:05:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 21:05:12 +0100 |
commit | 875c0cb04d0f0450bfb68d8e548fcaea6022bd49 (patch) | |
tree | 9c3b311dcbc9f7569ffc56939273f3f26831b311 /orchestrator-restapi/src/main | |
parent | 3db4288215479f38f7db9c1ddeeceb69a8ff93e5 (diff) |
Revert "Enforce CC timeouts in Orchestrator [4]"
Diffstat (limited to 'orchestrator-restapi/src/main')
-rw-r--r-- | orchestrator-restapi/src/main/java/com/yahoo/vespa/orchestrator/restapi/HostSuspensionApi.java | 8 |
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}") |