anchor.diff:  -define(RETRY_INTERVAL, 5 * 1000).
   -define(RETRY_ATTEMPTS, 20).
   
  -subset_design_doc_view(Req, BucketName, DesignName, ViewName, [VBucket]) ->
  +subset_design_doc_view(Req, #db{name=BucketName}, DesignName, ViewName,
  +                       [VBucket]) ->
       DDocId = <<"_design/", DesignName/binary>>,
       [Spec] = build_local_set_specs(BucketName, DDocId, ViewName, [VBucket]),
       Specs = [Spec#set_view_spec{category = dev}],
  
positive.code:         _ ->
              case run_on_subset(Req, DbName) of
                  full_set ->
                      full_design_doc_view(Req, DbName, DDocName, ViewName, VBucketsDict);
                  VBucket ->
                      subset_design_doc_view(Req, DbName, DDocName, ViewName, [VBucket])
              end
      end.
  
  
negative.code:                   end, [], NodeToVBuckets),
      finalize_view_merge_params(Req, ViewSpecs);
  
  view_merge_params(Req, #db{name = BucketName}, DDocId, ViewName, NodeToVBuckets) ->
      ViewSpecs = dict:fold(
                    fun(Node, VBuckets, Acc) when Node =:= node() ->
                            build_local_set_specs(BucketName,
  