HBASE-24600 Empty RegionAction added to MultiRequest in case of RowMutations/CheckAndMutate batch (#1938)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
f67846ed35
commit
7fee4b5fb6
|
@ -590,7 +590,9 @@ public final class RequestConverter {
|
|||
if (!multiRequestBuilder.hasNonceGroup() && hasNonce) {
|
||||
multiRequestBuilder.setNonceGroup(nonceGroup);
|
||||
}
|
||||
multiRequestBuilder.addRegionAction(builder.build());
|
||||
if (builder.getActionCount() > 0) {
|
||||
multiRequestBuilder.addRegionAction(builder.build());
|
||||
}
|
||||
|
||||
// Process RowMutations here. We can not process it in the big loop above because
|
||||
// it will corrupt the sequence order maintained in cells.
|
||||
|
|
Loading…
Reference in New Issue