[ https://issues.apache.org/jira/browse/KAFKA-8465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ChenLin updated KAFKA-8465: --------------------------- Attachment: image-2019-07-30-13-40-12-711.png > Copying strategy for the topic dimension > ---------------------------------------- > > Key: KAFKA-8465 > URL: https://issues.apache.org/jira/browse/KAFKA-8465 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 2.0.1, 2.2.0, 2.2.1 > Reporter: ChenLin > Priority: Major > Attachments: image-2019-07-30-13-40-12-711.png, > image-2019-07-30-13-40-49-878.png, > replication_strategy_for_the_topic_dimension.patch > > > When some partiton's replication is assigned to a broker, which disks should > these copies be placed on the broker? The original strategy is to allocate > according to the number of partiitons。This strategy will result in uneven > disk allocation for the topic dimension. > In order to solve this problem, we propose an improved strategy: first > ensure that the number of partitions of each disk in the topic dimension is > even. If the number of partitions of a topic on two disks is equal, then sort > according to the total number of partitions on the disk. Select a disk with > the least number of partitions to store the current replication. -- This message was sent by Atlassian JIRA (v7.6.14#76016)