chia7712 commented on PR #19759:
URL: https://github.com/apache/kafka/pull/19759#issuecomment-2892046630

   > The onComplete method in DelayedOperation is guaranteed to run only
   once, either by tryComplete or onExpiration. 
   
   `onExpiration`? or `forceComplete`?
   
   > if
   onComplete is already invoked by another thread then execution of
   tryComplete is not required.
   
   Excuse me, how to address it? do you plan to check `isCompleted` before 
executing `tryComplete`?


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to