You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/11/05 01:29:21 UTC

[GitHub] [rocketmq] xiaoyifang commented on pull request #4891: [ISSUE 4890] WIP Fix binary search consume offset by time

xiaoyifang commented on PR #4891:
URL: https://github.com/apache/rocketmq/pull/4891#issuecomment-1304369088

   I think the fix is a little complex ,for a lower boundary ,we have just to search for the value `timestamp-0.5`
   while `timestamp+0.5` for the upperboudary.
   
   `timestamp+(-)0.5` must be a value between real message's timestamp and will not match any message's timestamp.


-- 
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-unsubscribe@rocketmq.apache.org

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