anchor.diff:      case ChainStates of
           [{undefined, _}|_] ->
               Chain;
  -        [{Master, State}|ReplicaStates] when State == pending orelse
  -                                             State == replica ->
  -            %% If we have any active nodes, do nothing, otherwise, set
  -            %% it to active.
  +        [{Master, State}|ReplicaStates] when State /= active ->
               case [N || {N, active} <- ReplicaStates ++ ExtraStates] of
                   [] ->
                       %% We'll let the next pass catch the replicas.
  
positive.code:                             [Node|lists:duplicate(length(Chain) - 1,
                                                    undefined)];
                          Pos ->
                              [Node|lists:nthtail(1, Pos)]
                      end;
                  Nodes ->
                      ?log_error(
  
negative.code: 
  -export([cleanup/3, current_states/2, graphviz/1]).
  
  
  -spec cleanup(string(), map(), [node()]) -> ok.
  cleanup(Bucket, Map, Servers) ->
      case sanify(Bucket, Map, Servers) of
          Map -> ok;
  