[ 
https://issues.apache.org/jira/browse/IGNITE-24253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Khitrin updated IGNITE-24253:
------------------------------------
    Affects Version/s: 3.0

> Tables creation in 1 thread throws "Replication is timed out"
> -------------------------------------------------------------
>
>                 Key: IGNITE-24253
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24253
>             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
>
> *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 200 columns in 1 thread.
>  # Assert 50 tables are present in system view.
>  # Insert 1 row into each.
>  # Assert rows content is correct in 1 thread.
>  # Repeat steps 2-5 while amount of tables is 1000.
> *Expected:*
> 1000 tables are created.
> *Actual:*
> Exception during 450-499 tables creation at step 5.
> Exception on client side:
> {code:java}
> Execute: Check correctness of tables 450 - 499 ==> Unexpected exception 
> thrown: java.util.concurrent.ExecutionException: java.sql.SQLException: 
> Replication is timed out [replicaGrpId=971_part_0]
> org.opentest4j.AssertionFailedError: Execute: Check correctness of tables 450 
> - 499 ==> Unexpected exception thrown: 
> java.util.concurrent.ExecutionException: java.sql.SQLException: Replication 
> is timed out [replicaGrpId=971_part_0]
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
>       at 
> org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
>       at 
> org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:53)
>       at 
> org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:40)
>       at 
> org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3183)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.lambda$invokeTasks$14(TablesAmountCapacityBaseTest.java:381)
>       at io.qameta.allure.Allure.lambda$step$0(Allure.java:113)
>       at io.qameta.allure.Allure.lambda$step$1(Allure.java:127)
>       at io.qameta.allure.Allure.step(Allure.java:181)
>       at io.qameta.allure.Allure.step(Allure.java:125)
>       at io.qameta.allure.Allure.step(Allure.java:112)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.step(TablesAmountCapacityBaseTest.java:271)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.invokeTasks(TablesAmountCapacityBaseTest.java:376)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.assertTablesRowsAreCorrectParallel(TablesAmountCapacityBaseTest.java:222)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.testTablesAmount(TablesAmountCapacityBaseTest.java:94)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityMultiNodeTest.create1000EmptyTablesAmountOfColumnsEachAndMakeSimpleQueries(TablesAmountCapacityMultiNodeTest.java:99)
>       at 
> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>       at 
> org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
>       at 
> org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
>       at 
> org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
>       at 
> io.qameta.allure.junit5.AllureJunit5.interceptTestTemplateMethod(AllureJunit5.java:59)
>       at 
> org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
>       at 
> org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
>       at 
> org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
>       at 
> org.junit.jupiter.api.AssertTimeoutPreemptively.lambda$submitTask$3(AssertTimeoutPreemptively.java:95)
>       at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
>       at java.base/java.lang.Thread.run(Thread.java:1583)
> Caused by: java.util.concurrent.ExecutionException: java.sql.SQLException: 
> Replication is timed out [replicaGrpId=971_part_0]
>       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)
>       ... 27 more
> Caused by: java.sql.SQLException: Replication is timed out 
> [replicaGrpId=971_part_0]
>       at 
> org.apache.ignite.internal.jdbc.proto.IgniteQueryErrorCode.createJdbcSqlException(IgniteQueryErrorCode.java:57)
>       at 
> org.apache.ignite.internal.jdbc.JdbcStatement.execute0(JdbcStatement.java:160)
>       at 
> org.apache.ignite.internal.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:115)
>       at 
> org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.lambda$assertTablesRowsAreCorrectParallel$7(TablesAmountCapacityBaseTest.java:211)
>       ... 4 more {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to