anchor.diff:      NumToAck = length(Updated_partitions),
       case NumToAck of
           0 ->
  -            io:format("committed read only~n"),
               reply_to_client(SD0#tx_coord_state{state = committed_read_only, from = Sender});
           _ ->
               ok = ?CLOCKSI_VNODE:commit(Updated_partitions, Transaction, Commit_time),
  
positive.code:                             reply_to_client(SD0#tx_coord_state{state = committed_read_only});
  
                          false ->
                              io:format("Tx read only~n"),
                              gen_fsm:reply(From, {ok, Snapshot_time}),
                              {next_state, committing, SD0#tx_coord_state{state = committing, commit_time = Snapshot_time}}
                      end;
  
negative.code:                 committed_read_only ->
                      case IsStatic of
                          false ->
                              {ok, {TxId, Transaction#transaction.vec_snapshot_time}};
                          true ->
                              {ok, {TxId, ReturnAcc, Transaction#transaction.vec_snapshot_time}}
                      end;
  
  