[
https://issues.apache.org/jira/browse/KAFKA-8465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ChenLin updated KAFKA-8465:
---------------------------
Attachment: (was: image-2019-07-30-13-35-58-872.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: 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)