https://play.clickhouse.com/play?user=play#c2VsZWN0IAp0b1N0YXJ0T2ZEYXkoY2hlY2tfc3RhcnRfdGltZSkgYXMgZCwKY291bnQoKSwgIGdyb3VwVW5pcUFycmF5KHB1bGxfcmVxdWVzdF9udW1iZXIpLCAgYW55KHJlcG9ydF91cmwpCmZyb20gY2hlY2tzIHdoZXJlICcyMDIyLTA2LTAxJyA8PSBjaGVja19zdGFydF90aW1lIGFuZCB0ZXN0X25hbWUgbGlrZSAnJTAyNDgxX2FzeW5jX2luc2VydF9kZWR1cCUnIGFuZCB0ZXN0X3N0YXR1cyBpbiAoJ0ZBSUwnLCAnRkxBS1knKSBncm91cCBieSBkIG9yZGVyIGJ5IGQgZGVzYw==

Example: https://s3.amazonaws.com/clickhouse-test-reports/44202/ec09a66fbb074fcccfae4a743106d5e7c3b64e26/stateless_tests__debug__s3_storage__[3/6].html
{
        std::vector<size_t> offset_idx;
        for (const auto & raw_path : block_paths)
        {
            std::filesystem::path p(raw_path);
            String conflict_block_id = p.filename();
            auto it = partition.block_id_to_offset_idx.find(conflict_block_id);
            if (it == partition.block_id_to_offset_idx.end())
                throw Exception("Unknown conflict path " + conflict_block_id, ErrorCodes::LOGICAL_ERROR);
            offset_idx.push_back(it->second);
        }
        std::sort(offset_idx.begin(), offset_idx.end());
        auto & offsets = partition.block_with_partition.offsets->offsets;
        size_t idx = 0, remove_count = 0;
        auto it = offset_idx.begin();
        std::vector<size_t> new_offsets;
        std::vector<String> new_block_ids;
        
        size_t rows = partition.block_with_partition.block.rows();
        auto filter_col = ColumnUInt8::create(rows, 1u);
        ColumnUInt8::Container & vec = filter_col->getData();
        UInt8 * pos = vec.data();
        for (auto & offset : offsets)
        {
            if (it != offset_idx.end() && *it == idx)
            {