You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2022/06/11 17:40:49 UTC
[hbase] branch master updated: HBASE-27097 SimpleRpcServer is broken (#4521)
This is an automated email from the ASF dual-hosted git repository.
apurtell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 3e98869925e HBASE-27097 SimpleRpcServer is broken (#4521)
3e98869925e is described below
commit 3e98869925ea5595c9f2f0b46b860b6825f08ef2
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Sat Jun 11 10:40:40 2022 -0700
HBASE-27097 SimpleRpcServer is broken (#4521)
Apply https://issues.apache.org/jira/secure/attachment/13044874/MultiByteBuff.patch
from Lijin Bin on JIRA.
Co-authored-by: Lijin Bin <bi...@apache.org>
Signed-off-by: Lijin Bin <bi...@apache.org>
Signed-off-by: Viraj Jasani <vj...@apache.org>
---
.../src/main/java/org/apache/hadoop/hbase/nio/MultiByteBuff.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/nio/MultiByteBuff.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/nio/MultiByteBuff.java
index 003e2305fb9..a3c0b5c528c 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/nio/MultiByteBuff.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/nio/MultiByteBuff.java
@@ -1148,6 +1148,9 @@ public class MultiByteBuff extends ByteBuff {
offset += len;
}
if (buffer.hasRemaining()) {
+ // reset
+ curItem = buffer;
+ curItemIndex = (curItemIndex - 1);
break;
}
}