lnbest0707-uber commented on PR #16494:
URL: https://github.com/apache/pinot/pull/16494#issuecomment-3218933366

   > One possible encoding scheme is to encode topic name, backfill id and 
partition id in the max allowed int 2,147,483,647 limit. The first 4 digits are 
for topic, next 2 digit for backfill id and the next 4 digits for partition id. 
I think it should accommodate for nearly possible practical needs.
   
   I can think about 2 encoding methods but neither could fulfill the 
requirement
   
   - Use the sequence number as backfill or topic id -> It is hard to remove 
the topic.
   - Use the hardcode to map string to int id -> It is hard to avoid and deal 
with the collision.


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