anchor.diff:  encode_handoff_item(Key, Operation) ->
       term_to_binary({Key, Operation}).
   
  -is_empty(State=#state{ops_cache = OpsCache}) ->
  +is_empty(State=#state{ops_cache=OpsCache}) ->
       case ets:first(OpsCache) of
           '$end_of_table' ->
               {true, State};
  
positive.code: handoff_finished(_TargetNode, State) ->
      {ok, State}.
  
  handle_handoff_data(Data, State = #state{ops_cache = OpsCache}) ->
      {Key, Operation} = binary_to_term(Data),
      true = ets:insert(OpsCache, {Key, Operation}),
      {reply, ok, State}.
  
negative.code:                     %% the following checks for the case there were no snapshots and there were operations, but none was applicable
                      %% for the given snapshot_time
                      case (CommitTime == ignore) of
                          true  ->
                              riak_core_vnode:reply(Sender, {error, no_snapshot}),
                              {error, no_snapshot};
                          false ->
                              riak_core_vnode:reply(Sender, {ok, Snapshot}),
                              SnapshotDict1 = orddict:store(CommitTime,Snapshot, SnapDict),
                              snapshot_insert_gc(Key,SnapshotDict1, OpsDict, SnapshotCache, OpsCache),
                              {ok, Snapshot}
                      end;
  