anchor.diff:                                         Result2 == ok ->
                                              {{ok, done}, TransLog2};
                                          true ->
  -                                           {{fail, notfound}, TransLog2}
  +                                           {{fail, write}, TransLog2}
                                      end;
                                  true ->
                                      {{fail, {key_changed, ReadValue}}, TransLog1}
  
positive.code:     end.
  
  %% @doc reads the value of a key
  %% @spec read(key()) -> {failure, term()} | value()
  read(Key) ->
      case util:tc(transaction_api, quorum_read, [Key]) of
          {_Time, {fail, Reason}} ->
  
negative.code: 
  %% @doc writes the value of a key
  %% @spec write(key(), value()) -> ok | {fail, term()}
  -spec write(key(), value()) -> ok | {fail, term()}.
  write(Key, Value) ->
      case util:tc(transaction_api, single_write, [Key, Value]) of
          {_Time, commit} ->
  