@Override
    public void retryWrite(ByteBuf src, long position, long retryIntervalMillis,
        long retryTimeoutMillis) throws IOException {
        checkFailed();
        retry(() -> write(src, position), retryIntervalMillis, retryTimeoutMillis);
    }
Flag to indicate if the WAL has failed.
It will be set to true if an IO operation fails continuously, and it will never be reset.
Any IO operation will fail immediately if this flag is true.
s3stream/src/main/java/com/automq/stream/s3/wal/util/AbstractWALChannel.java