anchor.diff:                      ?log_info("~p: killed last vbucket (~p) for destination ~p", [SrcNode, VBucket, DstNode]),
                       ok;
                   _ ->
  -                    {ok, _} = start_child(SrcNode, Bucket, VBuckets -- [VBucket],
  +                    {ok, _} = start_child(SrcNode, Bucket,
  +                                          ordsets:del_element(VBucket, VBuckets),
                                             DstNode)
               end
       end.
  
positive.code:     ok = supervisor:delete_child({server(Bucket), Node}, Child).
  
  
  -spec stop_incoming_replications(Node::node(),
                                   Bucket::bucket_name(),
                                   VBuckets::[vbucket_id()]) ->
                                 [#new_child_id{}].
  stop_incoming_replications(Node, Bucket, VBuckets) ->
      %% Kill any existing children for these VBuckets
      Children = [Id || Id = #new_child_id{vbuckets=Vs} <-
                            children(Node, Bucket),
                        Vs -- VBuckets /= Vs],
      lists:foreach(fun (Child) ->
                            kill_child(Node, Bucket, Child)
                    end, Children),
  
negative.code: 
  -include("ns_common.hrl").
  
  %% identifier of ns_vbm_sup childs in supervisors. NOTE: vbuckets
  %% field is sorted. We could use ordsets::ordset() type, but we also
  %% want to underline that vbuckets field is never empty.
  -record(new_child_id, {vbuckets::[vbucket_id(), ...],
                         src_node::node()}).
  
  