jon-wei commented on a change in pull request #7547: Add support minor 
compaction with segment locking
URL: https://github.com/apache/incubator-druid/pull/7547#discussion_r306616295
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/common/task/batch/parallel/ParallelIndexSupervisorTask.java
 ##########
 @@ -404,10 +439,9 @@ SegmentIdWithShardSpec allocateNewSegment(DateTime 
timestamp) throws IOException
 
     Interval interval;
     String version;
-    boolean justLockedInterval = false;
     if (bucketIntervals.isPresent()) {
-      // If the granularity spec has explicit intervals, we just need to find 
the interval (of the segment
-      // granularity); we already tried to lock it at task startup.
+      // If granularity spec has explicit intervals, we just need to find the 
version accociated to the interval.
 
 Review comment:
   accociated -> associated

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to