AmatyaAvadhanula commented on PR #15116:
URL: https://github.com/apache/druid/pull/15116#issuecomment-1784480233

   Hello @dulu98Kurz
   
   https://github.com/apache/druid/issues/7491 - Segment locking requires the 
partition ids to be within 0 - Short.MAX_VALUE. In particular:
   > Regarding restrictions above, it's important to make the partitionIds of 
the first-generation segments consecutive to facilitate compaction. To do this, 
we use separate partitionId space for first-generation segments and 
non-first-generation segments: (0 - 32767) is for first-generation and (32768 - 
65535) is for non-first-generation segments.
   
   However, there are plans to deprecate segment locking in future releases in 
favour of concurrent append with replace. We might be able to revisit this then.


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