private List<Node> moveRecursively(String hostname, Node.State toState, Agent agent, boolean forceDeprovision, Optional<String> reason) {
        try (RecursiveNodeMutexes locked = lockAndGetRecursively(hostname, Optional.empty())) {
            List<Node> moved = new ArrayList<>();
            NestedTransaction transaction = new NestedTransaction();
            for (NodeMutex node : locked.nodes().nodes())
                moved.add(move(node.node().hostname(), toState, agent, forceDeprovision, reason, transaction));
            transaction.commit();
            return moved;
        }
    }
Moves a host to breakfixed state, removing any children.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Nodes.java