dajac opened a new pull request, #12240:
URL: https://github.com/apache/kafka/pull/12240

   This PR implements a first part of 
[KIP-841](https://cwiki.apache.org/confluence/display/KAFKA/KIP-841%3A+Fenced+replicas+should+not+be+allowed+to+join+the+ISR+in+KRaft).
 Specifically, it implements the following:
   * Adds a new metadata version.
   * Adds the InControlledShutdown field to the BrokerRegistrationRecord and 
BrokerRegistrationChangeRecord and bump their versions. The newest versions are 
only used if the new metadata version is enabled.
   * Writes a BrokerRegistrationChangeRecord with InControlledShutdown set when 
a broker requests a controlled shutdown.
   * Ensures that fenced and in controlled shutdown replicas are not picked as 
leaders nor included in the ISR.
   * Adds or extends unit tests.
   
   ### 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to