anchor.diff:                      xdc_rep_utils:remote_vbucketmap_nodelist(TgtBucket),
   
                   % Retry couch replications that failed after they were triggered
  -                lists:map(
  +                lists:foreach(
                       fun(FailedCouchRep) ->
                           retry_couch_replication(XDocId, SrcBucket, TgtVbInfo,
                                                   FailedCouchRep)
  
positive.code:             end,
  
          ?log_info("~s: cancelling xdc replication", [XDocId]),
          lists:map(
              fun(CRepPid) ->
                  cancel_couch_replication(XDocId, CRepPid)
              end,
  
negative.code:         catch error:badarg ->
              []
          end,
      lists:foreach(
          fun(CRepPid) ->
              cancel_couch_replication(XDocId, CRepPid)
          end,
  