Restore recovered offline log dirs without broker restart

Hi folks!

I’m doing some tests deploying a Kafka cluster with the JBOD strategy for log dirs. To simulate a failed disk, I removed Kafka’s user write and read permissions of the log dir (e.g.: /var/lib/kafka/data/disk1) in a broker, so this disk was marked as offline. After a while, I restored Kafka’s user permissions on the log dir, but it was not recognized as online automatically up until I restarted the broker.

So, is there any admin tool or command to restore a recovered offline log dir without a broker restart?

Thanks!

1 Like