chia7712 commented on PR #15621:
URL: https://github.com/apache/kafka/pull/15621#issuecomment-2027904152

   >  I think both are important. First, it's important to be able to derive 
the same thing consistently from the leader and the follower log. This affects 
things like the time indexing entries. It will be confusing if the leader adds 
an offset in the middle of a batch while the follower adds an offset at the end 
of the batch. Second, it's important to name things as accurately as possible. 
Otherwise, future developers could make inaccurate assumptions.
   
   you are right. I have reverted the impl and naming. Also, I add extra 
comments for the "spec" of offsetOfMaxTimestamp


-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to