anchor.diff:              case [N || {N, active} <- ReplicaStates ++ ExtraStates] of
                   [] ->
                       %% We'll let the next pass catch the replicas.
  +                    ?log_info("Setting vbucket ~p on ~p to active.",
  +                              [VBucket, Master]),
                       ns_memcached:set_vbucket_state(Master, Bucket, VBucket, active),
                       Chain;
                   [Node] ->
  
positive.code:               fun ({N, State}) ->
                        ns_memcached:set_vbucket_state(N, Bucket, VBucket, dead),
                        case {HaveAllCopies, State} of
                            {true, _} ->
                                ns_memcached:delete_vbucket(N, Bucket, VBucket);
                            {false, dead} ->
                                ok;
                            {false, _} ->
                                ns_memcached:set_vbucket_state(
                                  N, Bucket, VBucket, dead)
                        end
                end, ExtraStates),
              Chain;
  
negative.code:                           true->
                                ok;
                            false ->
                                ?log_info("Killing replicators for vbucket ~p on"
                                          " master ~p", [VBucket, M]),
                                ns_vbm_sup:kill_children(M, Bucket, [VBucket])
                        end
                end, misc:pairs(C)),
  