abhishekagarwal87 opened a new pull request #10445: URL: https://github.com/apache/druid/pull/10445
Fixes a corner scenario in compaction when `partitionsSpec` is of type `SingleDimensionPartitionsSpec` and `maxNumConcurrentSubTasks` is set to 1. Compaction fails since subtasks are created with a `supervisorTaskId` that is not the task id of the compaction task and they fail to find the supervisor task. This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met. <hr> ##### Key changed/added classes in this PR * `ParallelIndexSupervisorTask` * `CompactionTask` ---------------------------------------------------------------- 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]
