anchor.diff:                            Status = ns_doctor:get_node(Node),
                             Active = proplists:get_value(active_buckets,
                                                          Status, []),
  -                          Connected = proplists:get_value(ready_buckets,
  -                                                          Status, []),
  -
  -                          case Pred(Active, Connected) of
  +
  +                          case Pred(Active) of
                                 false ->
                                     PendingNodes;
                                 true ->
  
positive.code:         case DeleteRV of
              {ok, BucketConfig} ->
                  Nodes = ns_bucket:bucket_nodes(BucketConfig),
                  Pred = fun (Active, _Connected) ->
                                 not lists:member(BucketName, Active)
                         end,
                  LeftoverNodes =
  
negative.code:             {timeout, Nodes}
      end.
  
  %% Wait till active buckets satisfy certain predicate on all nodes. After
  %% `Timeout' milliseconds of idleness (i.e. when bucket lists has not been
  %% updated on any of the nodes for more than `Timeout' milliseconds) we give
  %% up and return the list of leftover nodes.
  -spec wait_for_nodes([node()],
                       fun(([string()]) -> boolean()),
                       timeout()) -> ok | {timeout, [node()]}.
  wait_for_nodes(Nodes, Pred, Timeout) ->
      Parent = self(),
  