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

   …17952)
   
   If ELR is enabled, we need to set a cluster-level min.insync.replicas, and 
remove all broker-level overrides. The reason for this is that if brokers 
disagree about which partitions are under min ISR, it breaks the KIP-966 
replication invariants. In order to enforce this, when the 
eligible.leader.replicas.version feature is turned on, we automatically remove 
all broker-level min.insync.replicas overrides, and create the required 
cluster-level override if needed. Similarly, if the cluster was created with 
eligible.leader.replicas.version enabled, we create a similar cluster-level 
record. In both cases, we don't allow setting overrides for individual brokers 
afterwards, or removing the cluster-level override.
   
   Split ActivationRecordsGeneratorTest up into multiple test cases rather than 
having it be one giant test case.
   
   Fix a bug in QuorumControllerTestEnv where we would replay records manually 
on objects, racing with the active controller thread. Instead, we should simply 
ensure that the initial bootstrap records contains what we want.
   
   Reviewers: Colin P. McCabe <[email protected]>
   
   No interesting conflicts
   


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