mirror of
https://github.com/apache/druid.git
synced 2025-02-09 03:24:55 +00:00
Task: - Add TaskCallback to run method (for early returns) TaskStatus: - Remove CONTINUED status - Add segmentsNuked (placeholder for future deletion support) - Add more builder methods - Add validations to constructor TaskStorage: - Add TaskStorageQueryAdapter, a concrete class that wraps TaskStorages and provides various read-only convenience methods - Add getTask method for benefit of TaskStorageQueryAdapter TaskQueue: - Rename "done" to "notify" - notify is responsible for deciding if we should commit - Add optional commitRunnable to "notify", which gets called when it's time to commit - Allow nextTasks and commits to run early (statusCode RUNNING) - Move getStatus, collapseStatus functionality to TaskStorageQueryAdapter