kevinrr888 commented on code in PR #4524:
URL: https://github.com/apache/accumulo/pull/4524#discussion_r1688553945


##########
core/src/main/java/org/apache/accumulo/core/fate/user/FateMutatorImpl.java:
##########
@@ -79,6 +82,33 @@ public FateMutator<T> putCreateTime(long ctime) {
     return this;
   }
 
+  @Override
+  public FateMutator<T> putReservedTx(FateStore.FateReservation reservation) {
+    Condition condition = new 
Condition(TxColumnFamily.RESERVATION_COLUMN.getColumnFamily(),
+        
TxColumnFamily.RESERVATION_COLUMN.getColumnQualifier()).setValue(NOT_RESERVED);
+    mutation.addCondition(condition);
+    TxColumnFamily.RESERVATION_COLUMN.put(mutation, new 
Value(reservation.toString()));

Review Comment:
   Yes, good call. I now only use the serialized value



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to