keith-turner commented on code in PR #6354:
URL: https://github.com/apache/accumulo/pull/6354#discussion_r3171578185


##########
core/src/main/java/org/apache/accumulo/core/fate/FateKey.java:
##########
@@ -200,14 +195,6 @@ private static Optional<ExternalCompactionId> 
deserializeCompactionId(FateKeyTyp
     };
   }
 
-  private static Optional<TServerInstance> deserializeTserverId(FateKeyType 
type,
-      DataInputBuffer buffer) throws IOException {
-    return switch (type) {
-      case SPLIT, MERGE, COMPACTION_COMMIT -> Optional.empty();
-      case TSERVER_SHUTDOWN -> Optional.of(new 
TServerInstance(buffer.readUTF()));
-    };
-  }
-

Review Comment:
   In persistent storage the serialized from of the key is used to dedupe by 
putting it in the Accumulo key for the fate table.



-- 
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