AmatyaAvadhanula commented on code in PR #16144:
URL: https://github.com/apache/druid/pull/16144#discussion_r1567045177
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskLockbox.java:
##########
@@ -1159,6 +1182,11 @@ public void add(Task task)
try {
log.info("Adding task[%s] to activeTasks", task.getId());
activeTasks.add(task.getId());
+ if (task instanceof PendingSegmentAllocatingTask) {
+ final String pendingSegmentGroupId = ((PendingSegmentAllocatingTask)
task).getPendingSegmentGroupId();
Review Comment:
Done
##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskLockbox.java:
##########
@@ -710,7 +732,7 @@ void allocateSegmentIds(
}
}
- private SegmentIdWithShardSpec allocateSegmentId(LockRequestForNewSegment
request, String version)
+ private SegmentIdWithShardSpec allocateSegmentId(LockRequestForNewSegment
request, String version, String taskGroup)
Review Comment:
Done
--
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]