You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/09/12 08:06:58 UTC

[GitHub] [hbase] chenxu14 commented on a change in pull request #603: HBASE-22965 RS Crash due to DBE reference to an reused ByteBuff

chenxu14 commented on a change in pull request #603: HBASE-22965 RS Crash due to DBE reference to an reused ByteBuff
URL: https://github.com/apache/hbase/pull/603#discussion_r323607393
 
 

 ##########
 File path: hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/EncodingState.java
 ##########
 @@ -31,4 +32,15 @@
    * The previous Cell the encoder encoded.
    */
   protected Cell prevCell = null;
+
+  @VisibleForTesting
+  public Cell getLastCell() {
+    return prevCell;
+  }
+
+  public void beforeShipped() {
 
 Review comment:
   If do so, we should move ShipperListener to hbase-common first

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


With regards,
Apache Git Services