jihoonson opened a new issue #10251: URL: https://github.com/apache/druid/issues/10251
### Affected Version Since 0.12. ### Description Steps to reproduce: 1. A task of a low priority is issued. It immediately gets locks but waits for a task slot to become available in pending state. 2. Overlord is restarted. 3. After the restart, all information of tasks and their locks are restored from metadata store. However, their last states are not. Instead, all tasks are scheduled by going through `TaskQueue` as they were just issued, but with the restored locks. 4. In `TaskQueue`, it checks if tasks are ready to run by calling `Task.isReady()`. Realtime tasks always return true. Other task types such as batch or kill tasks can return false if they fail to acquire locks or their locks are revoked. 5. If their locks are revoked, `Task.isReady()` never returns true, and thus those tasks never get scheduled to `RemoteTaskRunner`. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
