And waits for them. That's pointless.
alter_partition_version_path = zookeeper_path + "/alter_partition_version";
    zookeeper->get(alter_partition_version_path, &alter_partition_version_stat);
    Coordination::Requests ops_src;
    ops_src.emplace_back(zkutil::makeCreateRequest(
        fs::path(zookeeper_path) / "log/log-", entry_delete.toString(), zkutil::CreateMode::PersistentSequential));
    
    ops_src.emplace_back(zkutil::makeCheckRequest(alter_partition_version_path, alter_partition_version_stat.version));
    ops_src.emplace_back(zkutil::makeSetRequest(alter_partition_version_path, "", -1));
    
    ops_src.emplace_back(zkutil::makeSetRequest(fs::path(zookeeper_path) / "log", "", -1));
    delimiting_block_lock->getUnlockOps(ops_src);
    Coordination::Error code = zookeeper->tryMulti(ops_src, op_results);
    if (code == Coordination::Error::ZBADVERSION)
        throw Exception(ErrorCodes::CANNOT_ASSIGN_ALTER, "Cannot DROP PARTITION in {} after copying partition to {}, "
                        "because another ALTER PARTITION query was concurrently executed",
                        getStorageID().getFullTableName(), dest_table_storage->getStorageID().getFullTableName());
    else
        zkutil::KeeperMultiException::check(code, ops_src, op_results);
    log_znode_path = dynamic_cast<const Coordination::CreateResponse &>(*op_results.front()).path_created;
    entry_delete.znode_name = log_znode_path.substr(log_znode_path.find_last_of('/') + 1);
    if (query_context->getSettingsRef().replication_alter_partitions_sync > 1)
    {
        lock1.reset();
        waitForAllReplicasToProcessLogEntry(entry_delete);
    }
    
    cleanLastPartNode(partition_id);
}
void StorageReplicatedMergeTree::movePartitionToShard(