anchor.diff:                              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;
  
positive.code:     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),
  
negative.code: committing_single(commit, Sender, SD0 = #tx_coord_state{
      commit_time = Commit_time
  }) ->
      reply_to_client(SD0#tx_coord_state{prepare_time = Commit_time, from = Sender, commit_time = Commit_time, state = committed}).
  
  %% @doc after receiving all prepare_times, send the commit message to all
  