nizhikov commented on code in PR #11970:
URL: https://github.com/apache/ignite/pull/11970#discussion_r2046714062


##########
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/dml/DmlUtils.java:
##########
@@ -371,10 +370,7 @@ private static UpdateResult doDelete(GridCacheContext 
cctx, Iterable<List<?>> cu
 
             Object key = row.get(0);
 
-            ClusterNode node = snd.primaryNodeByKey(key);
-
-            IgniteInClosure<MutableEntry<Object, Object>> rmvC =
-                DmlStatementsProcessor.getRemoveClosure(node, key);
+            IgniteInClosure<MutableEntry<Object, Object>> rmvC = new 
DmlStatementsProcessor.RemoveClosure();

Review Comment:
   Let's continue to reuse one instance of remove closure like we do now.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to