@Override
    public void onStreamClose(long streamId) {
        upload();
    }
Search for the object with the maximum start offset less than or equal to the given start offset.
If not found, return -1.
s3stream/src/main/java/com/automq/stream/s3/index/LocalStreamRangeIndexCache.java