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

   Hi team,
   
   The current wording of such exception : 
   `NotEnoughReplicasException: The size of the current ISR Set(2) is 
insufficient to satisfy the min.isr requirement of 2 for partition X`
   
   Makes it look like the ISR size is 2 and SHOULD satisfy the min.isr, while 2 
in the Set(2) means only broker.id=2 is in ISR
   
   I did not find unit test to be updated that would check this exception 
wording
   
   Submitting this minor PR to remove any confusion and improve the message, 
what do you think ? 
   
   Thank you
   
   *More detailed description of your change,
   if necessary. The PR title and PR message become
   the squashed commit message, so use a separate
   comment to ping reviewers.*
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### 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