-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-24600 Empty RegionAction added to MultiRequest in case of RowMu… #1938
Conversation
…tations/CheckAndMutate batch
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@@ -590,7 +590,9 @@ public static void buildNoDataRegionActions(final byte[] regionName, | |||
if (!multiRequestBuilder.hasNonceGroup() && hasNonce) { | |||
multiRequestBuilder.setNonceGroup(nonceGroup); | |||
} | |||
multiRequestBuilder.addRegionAction(builder.build()); | |||
if (builder.getActionCount() > 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will happen for server side if empty RegionAction added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking a look at this!
Actually the server side does nothing as the RegionAction is empty. So I'd say it's not a critical bug. It will just waste network traffic a bit I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…tations/CheckAndMutate batch