anchor.diff:                      exit(stopped)
               after 1000 ->
                       ?log_info("Waiting for ~p", [Down]),
  -                    wait_for_memcached(Down, Bucket)
  +                    wait_for_memcached(Down, Bucket, Tries-1)
               end
       end.
   
  
positive.code: 
  
  %% @doc Wait until either all memcacheds are up or stop is pressed.
  wait_for_memcached(Nodes, Bucket) ->
      case [Node || Node <- Nodes, not ns_memcached:connected(Node, Bucket)] of
          [] ->
              ok;
  
negative.code:                                       %% Only start one bucket at a time to avoid
                                        %% overloading things
                                        ns_bucket:set_servers(BucketName, LiveNodes),
                                        wait_for_memcached(LiveNodes, BucketName, 5),
                                        ns_janitor:cleanup(BucketName),
                                        rebalance(BucketName, KeepNodes,
                                                  DeactivateNodes, BucketCompletion,
  