anchor.diff:      Locked = get_all_locks(Service, Type, Index, self()),
       build_or_rehash(Self, Locked, Type, State).
   
  -build_or_rehash(Self, Locked, Type, #state{vnode=VMode, service=Service,
  +build_or_rehash(Self, Locked, Type, #state{vnode=VNode, service=Service,
                                              index=Index, trees=Trees}) ->
       case {Locked, Type} of
           {true, build} ->
  
positive.code:             Acc2
      end.
  
  -spec object_fold_fun(pid()) -> fun().
  object_fold_fun(VNode, Tree) ->
      fun(BKey={Bucket,Key}, RObj, BinBKey) ->
              IndexN = riak_core_util:get_index_n({Bucket, Key}),
  
negative.code: %% 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 = VNode:master(),
      FoldFun = fold_fun(VNode, Tree, HasIndexTree),
      Req = riak_core_util:make_fold_req(FoldFun,
                                         0, false, 
  