alex-plekhanov commented on code in PR #12758:
URL: https://github.com/apache/ignite/pull/12758#discussion_r2821106953


##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/MemoryQuotasIntegrationTest.java:
##########
@@ -377,6 +377,20 @@ public void testHashAggregateNode() {
             IgniteException.class, "Query quota exceeded");
     }
 
+    /** */
+    @Test
+    public void testMassiveSequentialCheck() {
+        sql("CREATE TABLE tbl2 (id INT, b VARBINARY) WITH 
TEMPLATE=PARTITIONED");
+
+        for (int i = 0; i < 2000; i++)
+            sql("INSERT INTO tbl2 VALUES (?, ?)", i, new byte[1000]);
+
+        for (int i = 0; i < 1000; i++) {
+            assertThrows("SELECT ANY_VALUE(b) FROM tbl2 GROUP BY id",

Review Comment:
   Table `tbl` is REPLICATED, this test case reproduces problem, when fragment 
from one node already throws an exception, but fragment on another node still 
executed. In this case we have a race and negative total allocated after test 
(already fixed).



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