anchor.diff:                                  keep_nodes=KeepNodes,
                                   eject_nodes=EjectNodes,
                                   failed_nodes=FailedNodes,
  -                                type=rebalance}};
  +                                type=Type}};
           {error, no_kv_nodes_left} ->
               {reply, no_kv_nodes_left, idle, State};
           {error, delta_recovery_not_possible} ->
  
positive.code:     case ns_rebalancer:start_link_graceful_failover(Node) of
          {ok, Pid} ->
              notify_janitor_finished(JanitorRequests, rebalance_running),
              ns_config:set([{rebalance_status, running},
                             {rebalance_status_uuid, couch_uuids:random()},
                             {graceful_failover_pid, Pid},
                             {rebalancer_pid, Pid}]),
  
              Nodes = ns_cluster_membership:active_nodes(),
              Progress = rebalance_progress:init(Nodes, [kv]),
  
negative.code:             fun () ->
                      ns_rebalancer:move_vbuckets(Bucket, Moves)
              end),
  
      Type = move_vbuckets,
      set_rebalance_status(Type, running, Pid),
  
      Nodes = ns_cluster_membership:active_nodes(),
      Progress = rebalance_progress:init(Nodes, [kv]),
  