kfaraz commented on code in PR #14507:
URL: https://github.com/apache/druid/pull/14507#discussion_r1278509925
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/batch/parallel/ParallelIndexSupervisorTask.java:
##########
@@ -156,7 +158,11 @@ public class ParallelIndexSupervisorTask extends
AbstractBatchIndexTask implemen
* Only the compaction task can have a special base name.
*/
private final String baseSubtaskSpecName;
+
private final InputSource baseInputSource;
+ // A reference to the baseInputSource or another input source craeted using
the baseInputSource and a TaskToolbox
+ // This helps return the same object
+ private final AtomicReference<InputSource> inputSource = new
AtomicReference<>();
Review Comment:
You can call it `inputSourceWithToolbox` for clarity.
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/batch/parallel/ParallelIndexSupervisorTask.java:
##########
@@ -156,7 +158,11 @@ public class ParallelIndexSupervisorTask extends
AbstractBatchIndexTask implemen
* Only the compaction task can have a special base name.
*/
private final String baseSubtaskSpecName;
+
private final InputSource baseInputSource;
+ // A reference to the baseInputSource or another input source craeted using
the baseInputSource and a TaskToolbox
+ // This helps return the same object
Review Comment:
this comment is not needed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]