[
https://issues.apache.org/jira/browse/KAFKA-17158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
fujian.zfj updated KAFKA-17158:
-------------------------------
Description:
After invoking ALTER_REPLICA_LOG_DIRS, partition flow_pageview-9 will be moved
from /data1 to /data2, while ReplicaAlterLogDirsThread is created, leader of
partition flow_pageview-9 change from broker 58 to broker 36 at the same time.
After that, logSegements and indexes on /data2/flow_pageview-9 are no longer
being deleted.
the config of topic flow_pageview is:
cleanup.policy=delete
retention.ms=3600000
was:
After invoking ALTER_REPLICA_LOG_DIRS, partition flow_pageview-9 will be moved
from /data1 to /data2, while ReplicaAlterLogDirsThread is created, leader of
partition flow_pageview-9 change from broker 58 to broker 36. After that,
logSegements and indexes on /data2/flow_pageview-9 are no longer being deleted.
the config of topic flow_pageview is:
cleanup.policy=delete
retention.ms=3600000
> Method 'cleanupLogs' can not delete old logSegements after invoking
> ALTER_REPLICA_LOG_DIRS
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-17158
> URL: https://issues.apache.org/jira/browse/KAFKA-17158
> Project: Kafka
> Issue Type: Bug
> Components: log cleaner
> Affects Versions: 2.6.3
> Reporter: fujian.zfj
> Priority: Critical
> Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> After invoking ALTER_REPLICA_LOG_DIRS, partition flow_pageview-9 will be
> moved from /data1 to /data2, while ReplicaAlterLogDirsThread is created,
> leader of partition flow_pageview-9 change from broker 58 to broker 36 at the
> same time. After that, logSegements and indexes on /data2/flow_pageview-9 are
> no longer being deleted.
> the config of topic flow_pageview is:
> cleanup.policy=delete
> retention.ms=3600000
--
This message was sent by Atlassian Jira
(v8.20.10#820010)