This is an automated email from the ASF dual-hosted git repository.
brfrn169 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 a35ec99 HBASE-26002 MultiRowMutationEndpoint should return the result
of the conditional update (addendum)
a35ec99 is described below
commit a35ec994b94036fcd25acb1ea1738d8882ab587e
Author: Toshihiro Suzuki <[email protected]>
AuthorDate: Tue Jun 15 08:03:30 2021 +0900
HBASE-26002 MultiRowMutationEndpoint should return the result of the
conditional update (addendum)
Signed-off-by: Duo Zhang <[email protected]>
---
.../apache/hadoop/hbase/coprocessor/MultiRowMutationEndpoint.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MultiRowMutationEndpoint.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MultiRowMutationEndpoint.java
index 382470d..0a9b8fc 100644
---
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MultiRowMutationEndpoint.java
+++
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MultiRowMutationEndpoint.java
@@ -96,7 +96,10 @@ import
org.apache.hadoop.hbase.shaded.protobuf.generated.MultiRowMutationProtos.
* MultiRowMutationService.BlockingInterface service =
* MultiRowMutationService.newBlockingStub(channel);
* MutateRowsRequest mrm = mrmBuilder.build();
- * service.mutateRows(null, mrm);
+ * MultiRowMutationProtos.MutateRowsResponse response =
service.mutateRows(null, mrm);
+ *
+ * // We can get the result of the conditional update
+ * boolean processed = response.getProcessed();
* </code>
*/
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC)