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
42a51545f1
commit
fdb91176b5
|
@ -1148,6 +1148,9 @@ public class MultiByteBuff extends ByteBuff {
|
||||||
offset += len;
|
offset += len;
|
||||||
}
|
}
|
||||||
if (buffer.hasRemaining()) {
|
if (buffer.hasRemaining()) {
|
||||||
|
// reset
|
||||||
|
curItem = buffer;
|
||||||
|
curItemIndex = (curItemIndex - 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue