And waits for them. That's pointless.
zkutil::ZooKeeper & zookeeper, String & partition_id, LogEntry & entry, ContextPtr query_context, bool detach)
{
    String alter_partition_version_path = zookeeper_path + "/alter_partition_version";
    Coordination::Stat alter_partition_version_stat;
    zookeeper.get(alter_partition_version_path, &alter_partition_version_stat);
    MergeTreePartInfo drop_range_info;
    
    std::optional<EphemeralLockInZooKeeper> delimiting_block_lock;
    if (!getFakePartCoveringAllPartsInPartition(partition_id, drop_range_info, delimiting_block_lock))
    {
        LOG_INFO(log, "Will not drop partition {}, it is empty.", partition_id);
        return false;
    }
    clearBlocksInPartition(zookeeper, partition_id, drop_range_info.min_block, drop_range_info.max_block);
    String drop_range_fake_part_name = getPartNamePossiblyFake(format_version, drop_range_info);
    LOG_DEBUG(log, "Disabled merges covered by range {}", drop_range_fake_part_name);
    
    entry.type = LogEntry::DROP_RANGE;
    entry.source_replica = replica_name;