fixup!: #15981 Missing completion reports on index_parallel tasks#16042
fixup!: #15981 Missing completion reports on index_parallel tasks#16042georgew5656 merged 11 commits intoapache:masterfrom
Conversation
|
Thanks for the quick fix, @adithyachakilam . I have left a few comments. |
eb355d7 to
dc0f4fb
Compare
|
is this actually the behavior we want? it seems to contradict the behavior of other situations where we run a task inside another task where we expect the parent task to write its own reports |
looking at the code it seems to me all the other branches in ParallelIndexSupervisorTask call writeCompletionReports using the task report of the subtask generated (runRangePartitionMultiPhaseParallel, runSinglePhaseParallel, runHashPartitionMultiPhaseParallel) I see there's already this code shouldn't we just call writeCompletionReports here instead? |
|
@georgew5656, That actually makes sense, fixed it! |
Description
Fixed the bug where completion task reports are not being generated on
index_paralleltasks.The fix made in #15981 misses to call the
writeCompletionReportsinsideParallelIndexSupervisorTask#runSequential.Also, this PR tries to address the comments made on #15981 and #15930 after merged.
Key changed/added classes in this PR
CompactionTaskIndexTaskParallelIndexSupervisorTaskThis PR has: