fightBoxing opened a new issue, #1406:
URL: https://github.com/apache/flink-agents/issues/1406

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   Async chat retry backoff waits with `Thread.sleep` / `time.sleep` on the 
operator mailbox thread. One model that is retrying stalls every other key on 
that subtask for the whole backoff.
   
   The wait should leave the mailbox:
   
   - Async chat suspends and resumes after the delay.
   - Sync chat (`chat.async=false`) keeps waiting on the caller.
   - An interrupted blocking wait restores the interrupt flag and stops the 
retry.
   - JDK 21 can yield a continuation. JDK 11, and a context without a 
continuation, still sleeps.
   - Python async suspend yields once per mailbox turn until the deadline.
   
   Addressed by #1404.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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