anchor.diff:          lists:flatmap(
             fun (Dst) ->
                     Children = try children(Dst, Bucket) catch _:_ -> [] end,
  -                  [{{Src, Dst}, lists:sort(VBuckets)}
  +                  [{{Src, Dst}, VBuckets}
                      || #new_child_id{vbuckets=VBuckets, src_node=Src} <- Children]
             end, RelevantNodes),
       Replicators = dict:from_list(ReplicatorsList),
  
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()}).
  
  