private void checkFailed() throws IOException {
        if (failed) {
            IOException e = new IOException("Failed to execute IO operation, WAL failed");
            LOGGER.error("Failed to execute IO operation, WAL failed", e);
            throw e;
        }
    }
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