anchor.diff:           handle_sync_event/4, terminate/3]).
   
   %% States
  --export([check_clock/2, get_txs_to_check/2, check_committing/2, commit_notification/2, 
  -commit_ts_notification/2, check_prepared/2, commit_notification2/2, return/2]).
  +-export([check_clock/2,
  +	 get_txs_to_check/2,
  +	 commit_notification/2, 
  +	 return/2]).
   
   %% Spawn
  --export([bcast_get_commit_ts/2]).
   
   -record(state, {type,
   		key,
   	 	tx,
   		client,
   		vnode,
  -        committing_txs,
  -		left_committing,
  -		prepared_txs,
  -		left_prepared,
  -		left_acks}).
  +		pending_txs}).
   
   %%%===================================================================
   %%% API
  
positive.code: 		key=Key,
                  client=Client, 
                  tx=Tx,
  		committing_txs=[],
  		left_committing=[],
  		prepared_txs=[],
  		left_prepared=[]},
      {ok, check_clock, SD, 0}.
  
  check_clock(timeout, SD0=#state{tx=Tx}) ->
  
negative.code: %%%===================================================================
  %%% Internal Functions
  %%%===================================================================
  clean_left(TxId, Left) ->
      internal_clean_left(TxId, Left, []).
  
  