aleksdikanski commented on issue #7270:
URL: https://github.com/apache/pinot/issues/7270#issuecomment-998593838


   I also dig a bit yesterday and saw, that the start offset for a segment is 
fetched from Zookeeper. So I looked at the entry (PinotCluster / PROPERTYSTORE 
/ SEGMENTS / <table-name> / <segment>) and saw, that the offset is set to the 
`toString()` value of the MessageId as well, e.g., something like 
`"segment.realtime.startOffset": "3432:0:1:0"`. IMHO it is a bit dangerous to 
use the `toString()` representation, as this is more likely to change. I guess 
it should just be the byte array characters of the `MessageId.toByteArray()` 
method. I'm afraid I don't know where the ZK value is written.   


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to