shantanukawale-stripe opened a new pull request, #23880:
URL: https://github.com/apache/kafka/pull/23880

   After the log start offset advances into a segment, its cached largest 
timestamp can come from a record below the new start offset. The per-segment 
timestamp lookup correctly returns empty when no retained record matches, but 
`UnifiedLog` currently returns that empty result without checking later 
segments that may contain a valid match.
   
   Continue searching eligible segments until a lookup returns a result. 
Preserve the one-time segment snapshot and use in-memory base offsets to skip 
obsolete segments without reading segment tails. Add a file-backed, two-segment 
regression with non-monotonic timestamps and a log start offset inside the 
first segment.
   
   Jira: https://issues.apache.org/jira/browse/KAFKA-21317
   
   Generated-by: OpenAI Codex (GPT-5)
   


-- 
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]

Reply via email to