cmccabe commented on PR #14903:
URL: https://github.com/apache/kafka/pull/14903#issuecomment-1839768073

   > Instead, CommunicationEvent.run() should gracefully handle running when 
communicationInFlight = true Probably by doing nothing.
   
   This also implies that `scheduleNextCommunicationAfterSuccess` should be 
checking `nextSchedulingShouldBeImmediate` (not sure why it doesn't already)
   
   Probably `nextSchedulingShouldBeImmediate` should be renamed to something 
like "dirty" since it doesn't actually mean the next scheduling should always 
be immediate. Like if there has been a communication error 
(`scheduleNextCommunicationAfterFailure`) we do not want to immediately 
reschedule, no matter what.


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