tkhurana commented on code in PR #1967:
URL: https://github.com/apache/phoenix/pull/1967#discussion_r1746344724
##########
phoenix-core-server/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java:
##########
@@ -1146,14 +1155,18 @@ private void
identifyMutationTypes(MiniBatchOperationInProgress<Mutation> miniBa
BatchMutateContext context) {
for (int i = 0; i < miniBatchOp.size(); i++) {
Mutation m = miniBatchOp.getOperation(i);
- if (this.builder.isAtomicOp(m)) {
+ if (this.builder.returnResult(m)) {
+ context.returnResult = true;
Review Comment:
Should we only set this to true if batch size is 1 ? I think that will
simplify because I saw in multiple places we are doing both checks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]