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 <binlijin@apache.org> Signed-off-by: Lijin Bin <binlijin@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
9c846f4873
commit
3e98869925
|
@ -1148,6 +1148,9 @@ public class MultiByteBuff extends ByteBuff {
|
|||
offset += len;
|
||||
}
|
||||
if (buffer.hasRemaining()) {
|
||||
// reset
|
||||
curItem = buffer;
|
||||
curItemIndex = (curItemIndex - 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue