[
https://issues.apache.org/jira/browse/IGNITE-23816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Khitrin updated IGNITE-23816:
------------------------------------
Affects Version/s: 3.0
> Tables creation in 10 threads throws "Replication is timed out"
> ---------------------------------------------------------------
>
> Key: IGNITE-23816
> URL: https://issues.apache.org/jira/browse/IGNITE-23816
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Affects Versions: 3.0, 3.0.0-beta1
> Environment: 3 nodes (each node is CMG, each node
> {color:#067d17}"-Xms4096m"{color}, {color:#067d17}"-Xmx4096m"{color}), each
> on separate host. Each host vCPU: 4, Memory: 32GB.
> Reporter: Igor
> Priority: Major
> Labels: ignite-3
> Attachments: server_logs.zip.001, server_logs.zip.002,
> server_logs.zip.003, server_logs.zip.004, server_logs.zip.005,
> server_logs.zip.006, server_logs.zip.007
>
>
> *Steps to reproduce:*
> # Start 3 nodes (each node is CMG, each node
> {color:#067d17}"-Xms4096m"{color}, {color:#067d17}"-Xmx4096m"{color}), each
> on separate host. Each host vCPU: 4, Memory: 32GB.
> # Create 50 tables with 5 columns in 10 threads.
> # Assert 50 tables are present in system view.
> # Insert 1 row into each.
> # Assert rows content is correct in 10 threads.
> # Repeat steps 2-5 while amount of tables is 1000.
> *Expected:*
> 1000 tables are ccreated.
> *Actual:*
> Exception during 450-499 tables creation at step 5.
>
> {code:java}
> org.opentest4j.AssertionFailedError: org.opentest4j.AssertionFailedError:
> Execute: Check correctness of tables 450 - 499 in 10 threads ==> Unexpected
> exception thrown: java.util.concurrent.ExecutionException:
> java.sql.SQLException: Replication is timed out
> [replicaGrpId=983_part_10]org.opentest4j.AssertionFailedError: Execute: Check
> correctness of tables 450 - 499 in 10 threads ==> Unexpected exception
> thrown: java.util.concurrent.ExecutionException: java.sql.SQLException:
> Replication is timed out [replicaGrpId=983_part_10] at
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
> at
> app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
> at
> app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:53)
> at
> app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:40)
> at
> app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3183)
> at
> app//org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.lambda$invokeTasks$14(TablesAmountCapacityBaseTest.java:381)
> at app//io.qameta.allure.Allure.lambda$step$0(Allure.java:113) at
> app//io.qameta.allure.Allure.lambda$step$1(Allure.java:127) at
> app//io.qameta.allure.Allure.step(Allure.java:181) at
> app//io.qameta.allure.Allure.step(Allure.java:125) at
> app//io.qameta.allure.Allure.step(Allure.java:112) at
> app//org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.step(TablesAmountCapacityBaseTest.java:271)
> at
> app//org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.invokeTasks(TablesAmountCapacityBaseTest.java:376)
> at
> app//org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.assertTablesRowsAreCorrectParallel(TablesAmountCapacityBaseTest.java:222)
> at
> app//org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.testTablesAmount(TablesAmountCapacityBaseTest.java:94)
> at
> app//org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityMultiNodeTest.create1000EmptyTablesAmountOfColumnsEachAndMakeSimpleQueries(TablesAmountCapacityMultiNodeTest.java:97)
> at [email protected]/java.lang.reflect.Method.invoke(Method.java:566) at
> app//io.qameta.allure.junit5.AllureJunit5.interceptTestTemplateMethod(AllureJunit5.java:59)
> at
> [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at [email protected]/java.lang.Thread.run(Thread.java:834)Caused by:
> java.util.concurrent.ExecutionException: java.sql.SQLException: Replication
> is timed out [replicaGrpId=983_part_10] at
> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at
> java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) at
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.lambda$invokeTasks$13(TablesAmountCapacityBaseTest.java:383)
> at
> org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:49)
> ... 19 moreCaused by: java.sql.SQLException: Replication is timed out
> [replicaGrpId=983_part_10] at
> org.apache.ignite.internal.jdbc.proto.IgniteQueryErrorCode.createJdbcSqlException(IgniteQueryErrorCode.java:57)
> at
> org.apache.ignite.internal.jdbc.JdbcStatement.execute0(JdbcStatement.java:154)
> at
> org.apache.ignite.internal.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:111)
> at
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.lambda$assertTablesRowsAreCorrectParallel$7(TablesAmountCapacityBaseTest.java:211)
> ... 4 more {code}
> Server logs are in attachment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)