You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/05/10 13:53:11 UTC

[GitHub] [accumulo] jschmidt10 commented on a change in pull request #2086: Add optional extent to metadata update failure logs

jschmidt10 commented on a change in pull request #2086:
URL: https://github.com/apache/accumulo/pull/2086#discussion_r629378428



##########
File path: core/src/main/java/org/apache/accumulo/core/data/Mutation.java
##########
@@ -1237,4 +1238,37 @@ protected SERIALIZED_FORMAT getSerializedFormat() {
     return this.useOldDeserialize ? SERIALIZED_FORMAT.VERSION1 : SERIALIZED_FORMAT.VERSION2;
   }
 
+  /**
+   * Creates a multi-lined, human-readable String for this mutation.
+   *
+   * This method creates many intermediate Strings and should not be used for large volumes of
+   * Mutations.
+   *
+   * @return A multi-lined, human-readable String for this mutation.
+   */
+  public static String prettyPrint(Mutation mutation) {

Review comment:
       Added since tag, rebased to main, and made the method an instance method.




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org