https://clickhouse-test-reports.s3.yandex.net/21020/2ced21c837006053542b9f04c338faebf504f413/fuzzer_asan/server.log
{
    std::unique_lock lock(rwlock);
    auto callback = [&](const Block & block)
    {
        if (skip_not_intersected)
            min_max_right_blocks.emplace_back(extractMinMax(block, right_table_keys));
        right_blocks.countBlockSize(block);
    };
    flushed_right_blocks = disk_writer->finishMerge(callback);
    disk_writer.reset();
    
    UInt64 memory_limit = size_limits.max_bytes;
    UInt64 rows_limit = size_limits.max_rows;
    if (!memory_limit && rows_limit)
        memory_limit = right_blocks.bytes * rows_limit / right_blocks.row_count;
    cached_right_blocks = std::make_unique<Cache>(memory_limit);
}
bool MergeJoin::saveRightBlock(Block && block)