meatballspaghetti commented on code in PR #4745:
URL: https://github.com/apache/accumulo/pull/4745#discussion_r1693451897


##########
core/src/main/java/org/apache/accumulo/core/file/rfile/RelativeKey.java:
##########
@@ -467,24 +467,24 @@ private static byte[] readPrefix(DataInput in, 
ByteSequence prefixSource) throws
     return data;
   }
 
-  private static void readPrefix(DataInput in, MutableByteSequence dest, 
ByteSequence prefixSource)
+  private static void readPrefix(DataInput in, ArrayByteSequence dest, 
ByteSequence prefixSource)
       throws IOException {
     int prefixLen = WritableUtils.readVInt(in);
     int remainingLen = WritableUtils.readVInt(in);
     int len = prefixLen + remainingLen;
+    byte[] buf = dest.getBackingArray();
     if (dest.getBackingArray().length < len) {

Review Comment:
   Done.



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