[ https://issues.apache.org/jira/browse/KAFKA-15122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mickael Maison updated KAFKA-15122: ----------------------------------- Affects Version/s: 3.4.0 (was: 3.5.0) > Moving partitions between log dirs leads to kafka.log:type=Log metrics being > deleted > ------------------------------------------------------------------------------------ > > Key: KAFKA-15122 > URL: https://issues.apache.org/jira/browse/KAFKA-15122 > Project: Kafka > Issue Type: Task > Affects Versions: 3.4.0 > Reporter: Mickael Maison > Priority: Major > Fix For: 3.5.0 > > > # Start a broker with 2 log directories > # Create a topic-partition > Metrics with the following names are created: > kafka.log:type=Log,name=Size,topic=<TOPIC>,partition=0 > # Using kafka-reassign-partitions move that partition to the other log > directory > A tag is-future=true is added to the existing metrics, > kafka.log:type=Log,name=Size,topic=<TOPIC>,partition=0,is-future=true > # Using kafka-reassign-partitions move that partition back to its original > log directory > The metrics are deleted! > I don't expect the metrics to be renamed during the first reassignment. The > metrics should not be deleted during the second reassignment, the topic still > exists. Restarting the broker resolves the issue. > -- This message was sent by Atlassian Jira (v8.20.10#820010)