nagarjunahp88-byte opened a new pull request, #5221:
URL: https://github.com/apache/eventmesh/pull/5221

   ### What does this PR do?
   
   This PR fixes the retry acknowledgment handling logic in
   `DownStreamMsgContext` to correctly handle timeout scenarios
   and prevent incorrect retry behavior.
   
   ### What was the problem?
   
   The existing logic could incorrectly retry or acknowledge
   messages even after the configured TTL was exceeded, leading
   to unexpected message handling behavior.
   
   ### How was it fixed?
   
   - Corrected the retry ack decision logic based on elapsed time
   - Ensured retries are discarded once TTL is exceeded
   - Added unit tests to validate retry ack timeout scenarios
   
   ### Tests
   
   - Added unit tests for retry acknowledgment behavior
   
   Fixes #5213
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to