anchor.diff:  
   terminate(_Reason, _State) ->
       ok.
  +
  +%%====================%%
  +%% Internal Functions %%
  +%%====================%%
  +%% @doc threshold_prune: returns the operations that are not onlder than the specified op_id
  +%%  Assump:	The operations are retrieved in the order of insertion
  +%%			If the order of insertion was Op1 -> Op2 -> Op4 -> Op3, the expected list of operations would be: [Op1, Op2, Op4, Op3]
  +%%	Input:	Operations: Operations to filter
  +%%			From: Oldest op_id to return
  +%%			Filtered: List of filetered operations
  +%%	Return:	The filtered list of operations
  +-spec threshold_prune(Operations::list(), From::atom()) -> list().
  +threshold_prune([], _From) -> [];
  +threshold_prune([Next|Rest], From) ->
  +	case Next#operation.op_number == From of
  +		true ->
  +			[Next|Rest];
  +		false ->
  +			threshold_prune(Rest, From)
  +	end.
  +
  +-ifdef(TEST).
  +
  +%% @doc Testing threshold_prune works as expected
  +thresholdprune_test() ->
  +	Operations = [#operation{op_number=op1},#operation{op_number=op2},#operation{op_number=op3},#operation{op_number=op4},#operation{op_number=op5}],
  +	Filtered = threshold_prune(Operations,op3),
  +    ?assertEqual([#operation{op_number=op3},#operation{op_number=op4},#operation{op_number=op5}],Filtered).
  +
  +%% @doc Testing threshold_prune works even when there is no matching op_id
  +thresholdprune_notmatching_test() ->
  +	Operations = [#operation{op_number=op1},#operation{op_number=op2},#operation{op_number=op3},#operation{op_number=op4},#operation{op_number=op5}],
  +	Filtered = threshold_prune(Operations,op6),
  +    ?assertEqual([],Filtered).
  +
  +-endif.
  
positive.code: start_vnode(I) ->
      riak_core_vnode_master:get_vnode_pid(I, ?MODULE).
  
  %% @doc Sends a `read' syncrhonous command to the Log in `Node' 
  read(Node, Key) ->
      riak_core_vnode_master:sync_command(Node, {read, Key}, ?LOGGINGMASTER).
  
negative.code:          dappend/4,
           append_list/2,
           read/2,
  	 threshold_read/3,
           append/3]).
  
  -export([init/1,
  