You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/05/20 08:05:29 UTC

[GitHub] [kafka] tombentley commented on pull request #10686: KAFKA-4083: prevent changing replication factor via partition reassignment

tombentley commented on pull request #10686:
URL: https://github.com/apache/kafka/pull/10686#issuecomment-844838547


   While I agree that all partitions ought to have the same number of replicas, I think this fix is enforcing something different: That you can't change the RF for a partition. While that prevents the partitions getting different RFs from each other if they had the same RF originally it also prevents changing the RF for all the partitions of a topic, which we should support.
   
   There's also the use case where you want to change the RF for a topic, but because it has a large number of partitions you want to do it in batches, using multiple reassignments. I think Cruise Control does this kind of batching, for example. Supporting that requires that, for a time, the topic has partitions with different numbers of replicas.


-- 
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:
users@infra.apache.org