kfaraz commented on code in PR #13310:
URL: https://github.com/apache/druid/pull/13310#discussion_r1013689539


##########
server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java:
##########
@@ -943,7 +947,7 @@ private SegmentIdWithShardSpec createNewSegment(
 
         return new SegmentIdWithShardSpec(
             dataSource,
-            overallMaxId.getInterval(),
+            interval,

Review Comment:
   Changed to emphasize that the `interval` used in the 
`SegmentIdWithShardSpec` is always the same as the one passed to the method 
`createNewSegment`.



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

Reply via email to