anchor.diff:              {timeout, Nodes}
       end.
   
  -%% Wait till active and connected 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.
  +%% 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()], [string()]) -> boolean()),
  +                     fun(([string()]) -> boolean()),
                        timeout()) -> ok | {timeout, [node()]}.
   wait_for_nodes(Nodes, Pred, Timeout) ->
       Parent = self(),
  
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:                           Status = ns_doctor:get_node(Node),
                            Active = proplists:get_value(active_buckets,
                                                         Status, []),
  
                            case Pred(Active) of
                                false ->
                                    PendingNodes;
                                true ->
  