tkhurana commented on code in PR #2154:
URL: https://github.com/apache/phoenix/pull/2154#discussion_r2093507692


##########
phoenix-core-server/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java:
##########
@@ -910,7 +911,12 @@ private void 
applyPendingPutMutations(MiniBatchOperationInProgress<Mutation> min
                 context.dataRowStates.put(rowKeyPtr, dataRowState);
             }
             Put nextDataRowState = dataRowState.getSecond();
-            dataRowState.setSecond((nextDataRowState != null) ? applyNew((Put) 
m, nextDataRowState) : new Put((Put) m));
+            // Need to deep copy the references to the cells in the mutation
+            Put copied = IndexUtil.copyPut((Put) m);

Review Comment:
   OK, I will add a comment to make this clear



-- 
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]

Reply via email to