jihoonson commented on issue #7949: KIS: potential data overriding when 
taskDuration is set
URL: 
https://github.com/apache/incubator-druid/issues/7949#issuecomment-505206450
 
 
   Good to hear that this is not a real issue.
   
   In KIS, the overlord is responsible for allocating segments and it chooses 
the segment version as below:
   
   1) If this is the first segment for the given interval, it chooses the lock 
version as the segment version.
   2) If there are existing segments in the given interval, it chooses the max 
version of existing segments as the version of the new segment.
   
   This is implemented here: 
https://github.com/apache/incubator-druid/blob/master/server/src/main/java/org/apache/druid/metadata/IndexerSQLMetadataStorageCoordinator.java#L613-L713

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to