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

   ## Summary
   Since AK3.7.0 (#14594), the broker uses `min(min.insync.replicas, replica 
count)` as the effective min ISR. This applies to both acks=all produce 
requests and the high watermark advancement, and it is not related to whether 
ELR is enabled.
   
   This PR updates the documentation that still describes the raw 
`min.insync.replicas value` as the threshold, even though the underlying code 
already enforces the capped value:
   - `TopicConfig.java`: rewrites the `min.insync.replicas` config doc to state 
the effective bound explicitly, and replaces the vague "the semantics of this 
config changes" ELR note with a precise statement that only the 
config-management rules differ under ELR, not the effective-ISR bound itself.
   - `docs/design/design.md`: updates the consumer-visibility condition to 
reference the effective minimum.
   - `docs/operations/eligible-leader-replicas.md`: updates the 
high-watermark-advancement description in the Overview section.
   - `docs/operations/monitoring.md`: updates the` UnderMinIsrPartitionCount` 
and `AtMinIsrPartitionCount` metric descriptions.
   - `NotEnoughReplicasException` / `NotEnoughReplicasAfterAppendException` 
javadocs: updated to reflect the same bound.
   
   
   
   


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