anchor.diff:                  full_set ->
                       full_design_doc_view(Req, Db, DDocName, ViewName, VBucketsDict);
                   VBucket ->
  -                    subset_design_doc_view(Req, Db, DDocName, ViewName, [VBucket])
  +                    design_doc_view(Req, Db, DDocName, ViewName, [VBucket])
               end
       end.
   
  
positive.code: -define(RETRY_INTERVAL, 5 * 1000).
  -define(RETRY_ATTEMPTS, 20).
  
  subset_design_doc_view(Req, #db{name=BucketName} = Db, DesignName, ViewName,
                         [VBucket]) ->
      DDocId = <<"_design/", DesignName/binary>>,
      [Spec] = build_local_set_specs(BucketName, DDocId, ViewName, [VBucket]),
      Specs = [Spec#set_view_spec{category = dev}],
      MergeParams = finalize_view_merge_params(Req, Db, DDocId, ViewName, Specs),
      set_active_partition(DDocId, BucketName, VBucket),
      couch_index_merger:query_index(couch_view_merger, MergeParams, Req).
  
  
  full_design_doc_view(Req, Db, DesignName, ViewName, VBucketsDict) ->
      DDocId = <<"_design/", DesignName/binary>>,
  
negative.code:                {[{vbucket_db_name(BucketName, VBId), FullViewName} || VBId <- VBuckets]}}
               ]},
      #merged_index_spec{url = MergeURL, ejson_spec = Props}.
  