anchor.diff:  %% If `HasIndexTree` is true, also update the index spec tree.
   -spec fold_keys(atom(), index(), pid(), boolean()) -> ok.
   fold_keys(VNode, Partition, Tree, HasIndexTree) ->
  -    Master = Master:master(),
  +    Master = VNode:master(),
       FoldFun = fold_fun(VNode, Tree, HasIndexTree),
       Req = riak_core_util:make_fold_req(FoldFun,
                                          0, false, 
  
positive.code: 
  %% @doc Generate the folding function
  %% for a riak fold_req
  -spec fold_fun(pid(), boolean()) -> fun().
  fold_fun(VNode, Tree, _HasIndexTree = false) ->
      ObjectFoldFun = object_fold_fun(VNode, Tree),
      {Limit, Wait} = get_build_throttle(),
  
negative.code:     Locked = get_all_locks(Service, Type, Index, self()),
      build_or_rehash(Self, Locked, Type, State).
  
  build_or_rehash(Self, Locked, Type, #state{vnode=VNode, service=Service,
                                             index=Index, trees=Trees}) ->
      case {Locked, Type} of
          {true, build} ->
  