And waits for them. That's pointless.
{
    if (areBackgroundMovesNeeded())
        background_moves_executor.start();
}
void StorageReplicatedMergeTree::lockSharedData(const IMergeTreeDataPart & part) const
{
    if (!part.volume)
        return;
    DiskPtr disk = part.volume->getDisk();
    if (!disk)
        return;
    if (disk->getType() != DB::DiskType::Type::S3)
        return;
    zkutil::ZooKeeperPtr zookeeper = tryGetZooKeeper();
    if (!zookeeper)
        return;
    String id = part.getUniqueId();
    boost::replace_all(id, "/", "_");
    String zookeeper_node = fs::path(zookeeper_path) / "zero_copy_s3" / "shared" / part.name / id / replica_name;
    LOG_TRACE(log, "Set zookeeper lock {}", zookeeper_node);
    
    
    for (int attempts = 5; attempts > 0; --attempts)
    {
        try
        {
            zookeeper->createAncestors(zookeeper_node);
            zookeeper->createIfNotExists(zookeeper_node, "lock");
            break;
        }