Alexander Belyak created IGNITE-23678:
-----------------------------------------

             Summary: Storage aipersist throws 'Replication is timed out' on 
mass table creation
                 Key: IGNITE-23678
                 URL: https://issues.apache.org/jira/browse/IGNITE-23678
             Project: Ignite
          Issue Type: Bug
          Components: persistence
    Affects Versions: 3.0
            Reporter: Alexander Belyak


# Create 3 nodes cluster
 # Connect using JDBC
 # Create 1000 empty tables with 5 columns each

{*}Expected result{*}: no errors, 1000 tables created.

{*}Actual result{*}: flaky error
{code:java}
java.util.concurrent.ExecutionException: java.sql.SQLException: Replication is 
timed out [replicaGrpId=493_part_3]
org.opentest4j.AssertionFailedError: Execute: Check correctness of tables 200 - 
249 in 10 threads ==> Unexpected exception thrown: 
java.util.concurrent.ExecutionException: java.sql.SQLException: Replication is 
timed out [replicaGrpId=493_part_3]
        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:97)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        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:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.ExecutionException: java.sql.SQLException: 
Replication is timed out [replicaGrpId=493_part_3]
        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)
        ... 29 more
Caused by: java.sql.SQLException: Replication is timed out 
[replicaGrpId=493_part_3]
        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}
Commit: 
https://github.com/apache/ignite-3/commit/7d056984a7d8b109fd28a95bcbcc62d079cd176e



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

Reply via email to