git-hulk commented on PR #2472: URL: https://github.com/apache/kvrocks/pull/2472#issuecomment-2274887957
> > we don't have a fast way to get this "oldest" sequence number for now? > > Pass start sequence 0 and end sequcence MAX, and the first batch of sequence obtained is the oldest one. Yes, it can work by doing this but requires another iterator operation to get this. And I think we should not do this unless we did need this information. I guess your purpose is to know the oldest sequence if you want to start to consume from the oldest sequence? if yes, it now can use 0 as the sequence number without the STRCT flag, and it will be always started from the oldest batch. -- 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]
