And waits for them. That's pointless.
zkutil::ZooKeeperPtr & zookeeper, String part_name, LogEntry & entry, bool detach, bool throw_if_noop)
{
    LOG_TRACE(log, "Will try to insert a log entry to DROP_RANGE for part: " + part_name);
    auto part_info = MergeTreePartInfo::fromPartName(part_name, format_version);
    while (true)
    {
        ReplicatedMergeTreeMergePredicate merge_pred = queue.getMergePredicate(zookeeper);
        auto part = getPartIfExists(part_info, {MergeTreeDataPartState::Committed});
        if (!part)
        {
            if (throw_if_noop)
                throw Exception("Part " + part_name + " not found locally, won't try to drop it.", ErrorCodes::NO_SUCH_DATA_PART);
            return false;
        }
        
        
        if (partIsAssignedToBackgroundOperation(part))