Hi,

I encountered a problem and I don't know if it's a bug.
The description is as follows, kafka version 3.3.2 with kraft

1. one topic has two replica 0 and 1, 0 is leader and 1 is follower
2. at some point,  the disk on the broker id 0 is error(Read-only file system), 
but log not offline  in the beginning
3. first, follower replica(that is to say broker 1)  recive the 
error:error(s"Error for partition $topicPartition at offset 
${currentFetchState.fetchOffset}", partitionError.exception)
for replicated data from leader(broker id 0).

4. after that isr only 0 replica
5. next broker 0 detected disk error and  marks the directory offline
6. result, all replics(0 and 1) unavailable of the topic partition, just one 
disk is broken

Tn short, The follower detects disk error before the leader

Thank you very much for fixed my confusion
wangliucheng

Reply via email to