anchor.diff:  %%      To keep with the current api this is still done in 2 steps,
   %%      but should be changed when the new transaction api is decided
   -spec clocksi_full_icommit(txid()) -> {aborted, txid()} | {ok, {txid(), snapshot_time()}} | {error, reason()}.
  -clocksi_full_icommit({_, _, CoordFsmPid})->
  -    case gen_fsm:sync_send_event(CoordFsmPid, {prepare, empty}, ?OP_TIMEOUT) of
  +clocksi_full_icommit(TxId)->
  +    case gen_fsm:sync_send_event(TxId#tx_id.server_pid, {prepare, empty}, ?OP_TIMEOUT) of
           {ok,_PrepareTime} ->
  -            gen_fsm:sync_send_event(CoordFsmPid, commit, ?OP_TIMEOUT);
  +            gen_fsm:sync_send_event(TxId#tx_id.server_pid, commit, ?OP_TIMEOUT);
           Msg ->
               Msg
       end.
   
   -spec clocksi_iprepare(txid()) -> {aborted, txid()} | {ok, non_neg_integer()}.
  -clocksi_iprepare({_, _, CoordFsmPid})->
  -    case gen_fsm:sync_send_event(CoordFsmPid, {prepare, two_phase}, ?OP_TIMEOUT) of
  +clocksi_iprepare(TxId)->
  +    case gen_fsm:sync_send_event(TxId#tx_id.server_pid, {prepare, two_phase}, ?OP_TIMEOUT) of
           {error, {aborted, TxId}} ->
               {aborted, TxId};
           Reply ->
  
positive.code:     clocksi_istart_tx(ignore, false).
  
  -spec clocksi_iread(txid(), key(), type()) -> {ok, term()} | {error, reason()}.
  clocksi_iread({_, _, CoordFsmPid}, Key, Type) ->
      case materializer:check_operations([{read, {Key, Type}}]) of
          ok ->
              case gen_fsm:sync_send_event(CoordFsmPid, {read, {Key, Type}}, ?OP_TIMEOUT) of
                  {ok, Res} -> {ok, Res};
                  {error, Reason} -> {error, Reason}
              end;
  
negative.code:     end.
  
  -spec clocksi_iupdate(txid(), key(), type(), term()) -> ok | {error, reason()}.
  clocksi_iupdate(TxId, Key, Type, OpParams) ->
      case materializer:check_operations([{update, {Key, Type, OpParams}}]) of
          ok ->
              gen_fsm:sync_send_event(TxId#tx_id.server_pid, {update, {Key, Type, OpParams}}, ?OP_TIMEOUT);
          {error, Reason} ->
              {error, Reason}
      end.
  