anchor.diff:                                          %%              end};
                                           false ->
                                               [] = Zombies,
  -                                            missing;
  +                                            {N, missing};
                                           X -> X
                                       end
                               end, Chain),
  
positive.code:                                                                         N =/= undefined],
                                  %% and if everything fits -- cool
                                  FFMasterState =:= active
                                      andalso lists:all(fun (replica) -> true;
                                                            (_) -> false
                                                        end, FFReplicaStates);
                              _ ->
                                  false
                          end,
  
negative.code:                                        [VBucket, Bucket, Node]),
                                      [Node];
                                  Pos ->
                                      ?log_warning("Master for vbucket ~p in ~p is not active, but ~p is (one of replicas). So making that master.",
                                                   [VBucket, Bucket, Node]),
                                      [Node|lists:nthtail(Pos, Chain)]
                              end
                      end;
  