Hi @QiuMM, I'm not sure of your operating procedure, but #6234 adds true 
suspend/resume functionality to supervisors which might more closely line up 
with the behavior you want (so you don't have to resubmit the spec for each 
supervisor, just toggle the tasks off and then back on). However, it still only 
operates on a single supervisor.

Additionally it deprecates the 'shutdown' api call in favor of a new 
'terminate' call, which we thought more closely aligned with it's current 
behavior which sets a 'tombstone' version of the supervisor spec, requiring 
re-submitting the working spec to start operating again.

Perhaps you would like to modify this PR to have all 3 "all" endpoints, maybe 
something like
* `/druid/indexer/v1/supervisor/suspend`
* `/druid/indexer/v1/supervisor/resume`
* `/druid/indexer/v1/supervisor/terminate` (if this is really the behavior you 
want)


[ Full content available at: 
https://github.com/apache/incubator-druid/pull/6272 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to