fujian.zfj created KAFKA-17158:
----------------------------------

             Summary: 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


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to