AmritUdasi commented on issue #2715:
URL: https://github.com/apache/iggy/issues/2715#issuecomment-3879762238

   @numinnex:
   
   SDK: I am using the low-level poll_messages API.
   Commit Logic: I am tracking offsets manually in a local state file and using 
PollingStrategy::offset(current_offset). I am not using Iggy's internal offset 
commits or auto-commit flags.
   Discovery: I've found that when the server "jumps" to the latest offset, if 
I simply keep retrying the exact same request (e.g., asking for offset 27k), 
the server eventually "finds" the correct data after 5–10 retries (approx 10 
seconds).
   It seems like the server might be timing out on disk lookups for older 
segments and defaulting to the "Head" of the stream until the data is warmed up 
in the OS cache.


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