jihoonson commented on issue #8718: Fix graceful shutdown for tasks
URL:
https://github.com/apache/incubator-druid/issues/8718#issuecomment-548112999
I think tasks can be categorized into two groups, i.e., restorable tasks and
non-restorable tasks. Restorable tasks should store their last status on disk
when graceful shutdown is called, but can stop without it if force shutdown is
called. Non-restorable tasks just clean up their resources on both graceful
shutdown and force shutdown.
Realtime tasks are restorable while batch tasks are not currently. You can
tell a given task is restorable or not by calling `Task.canRestore()`.
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
With regards,
Apache Git Services
-
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org