C0urante opened a new pull request #8973:
URL: https://github.com/apache/kafka/pull/8973


   [Jira](https://issues.apache.org/jira/browse/KAFKA-10218)
   
   We added a `canReadConfigs` field to the `DistributedHerder` a while back 
that gets set to `false` if the herder fails to catch up to the end of the 
config topic, but never gets set to `true` again if catchup succeeds at a later 
point.
   
   This PR adds logic to reset it to `true` when it's safe to.
   
   A single unit test is tweaked to ensure that the herder doesn't keep 
unnecessarily trying to catch up to the end of the config topic during every 
tick.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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

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


Reply via email to