default int read(ByteBuf dst, long position) throws IOException {
        return read(dst, position, dst.writableBytes());
    }
Retry {@link #flush()} with the given interval until success or timeout.
s3stream/src/main/java/com/automq/stream/s3/wal/util/WALChannel.java