jon-wei commented on issue #6319: [Proposal] Minimizing the lock granularity 
for indexing
URL: 
https://github.com/apache/incubator-druid/issues/6319#issuecomment-477818887
 
 
   In this proposal, what happens in the following case?
   
   - Suppose we have two segments as partitions of a DAY granularity time 
chunk, partitions 0,1
   - Two compaction tasks are issued on those segments simultaneously, which 
would compact 0,1 to a new single DAY granularity segment
   - The two tasks both attempt to get a lock on (0,1)
   - One task gets a lock on (0,1) first and creates segment with partition 2, 
its overshadowedSegments are (0,1)
   - Now that the locks are free, what does the second task do? Would it try to 
compact (0,1) again?

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