@Override
    public CompletableFuture<Stream> openStream(long streamId, OpenStreamOptions openStreamOptions) {
        return runInLock(() -> {
            checkState();
            return FutureUtil.exec(() -> openStream0(streamId, openStreamOptions.epoch(), openStreamOptions.tags(), openStreamOptions), LOGGER, "openStream");
        });
    }
When the cluster objects count exceed MAJOR_V1_COMPACTION_MAX_OBJECT_THRESHOLD, the MAJOR_V1 compaction will be triggered.
Default value is 400000: 10w partitions ~= 30w streams ~= 40w object
s3stream/src/main/java/com/automq/stream/s3/S3StreamClient.java