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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
