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:                           catch ns_vbm_sup:set_replicas(Src, Bucket, R)
                    end, NodesReplicas).
  
  
  -spec state_color(atom()) -> string().
  state_color(active) ->
      "color=green";
  state_color(pending) ->
  