This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 7e8c18fade2 HBASE-28599 RowTooBigException is thrown when duplicate 
increment RPC call is attempted (#5927)
7e8c18fade2 is described below

commit 7e8c18fade24790f937f816af2c4ab7eed8819e4
Author: Youngju KIM <[email protected]>
AuthorDate: Mon May 20 10:16:55 2024 +0900

    HBASE-28599 RowTooBigException is thrown when duplicate increment RPC call 
is attempted (#5927)
    
    The root cause is analyzed by Robin Infant A(robiee17)
    
    Signed-off-by: Duo Zhang <[email protected]>
    (cherry picked from commit dba7dccb65dfaf5bd88400f12107f28b79aea4a2)
---
 .../src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index 6b27d124d6c..2381458a48b 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -3915,7 +3915,7 @@ public class HRegion implements HeapSize, 
PropagatingConfigurationObserver, Regi
       assert mutation instanceof Increment || mutation instanceof Append;
       Get get = new Get(mutation.getRow());
       CellScanner cellScanner = mutation.cellScanner();
-      while (!cellScanner.advance()) {
+      while (cellScanner.advance()) {
         Cell cell = cellScanner.current();
         get.addColumn(CellUtil.cloneFamily(cell), 
CellUtil.cloneQualifier(cell));
       }

Reply via email to