Hi all

Before #22792, brokers searched messages by timestamp as follows
- Binary search entries
- Reading the entry and getting the entry's publish timestamp

After #22792, brokers searched messages by timestamp as follows
- Locate a range by the ledger's close-timestamp.
- Binary search between the range obtained by the first step

#22792 reduces reading entries, which is very useful at the following
scenarios
- Consumers seek
- Reset cursor
- TTL
- ...

I would like to cherry-pick PIP-406 to branch-4.0.

Thanks
Yubiao Feng

-- 
This email and any attachments are intended solely for the recipient(s) 
named above and may contain confidential, privileged, or proprietary 
information. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution, or reproduction of this 
information is strictly prohibited. If you have received this email in 
error, please notify the sender immediately by replying to this email and 
delete it from your system.

Reply via email to