synchronized long free() {
            AtomicLong size = new AtomicLong();
            records.forEach(record -> {
                size.addAndGet(record.occupiedSize());
                record.release();
            });
            records.clear();
            return size.get();
        }
Merge the right block to the left block
s3stream/src/main/java/com/automq/stream/s3/cache/LogCache.java