anchor.diff:  %% API
   -export([start_vnode/1,
   	 check_tables_ready/0,
  -	 get_ops/6,
            read/5,
            read/6,
   	 get_cache_name/2,
  
positive.code: 	end,
      {Key,Length,OpId,ListLen,Ops}.
  tuple_to_key_int(Next,Next,_Tuple,Acc) ->
      lists:reverse(Acc);
  tuple_to_key_int(Next,Last,Tuple,Acc) ->
      tuple_to_key_int(Next+1,Last,Tuple,[element(Next,Tuple)|Acc]).
  
  
negative.code:             {_, _} = internal_read(Key, Type, SnapshotTime, ignore, [], true, State),
  	    %% Have to get the new ops dict because the interal_read can change it
  	    {Length1,ListLen1} = ets:lookup_element(OpsCache, Key, 2),
  	    true = ets:update_element(OpsCache, Key, [{Length1+?FIRST_OP,{NewId,DownstreamOp}}, {2,{Length1+1,ListLen1}}]);
          false ->
  	    true = ets:update_element(OpsCache, Key, [{Length+?FIRST_OP,{NewId,DownstreamOp}}, {2,{Length+1,ListLen}}])
  