Nikita Sivkov created IGNITE-21777:
--------------------------------------
Summary: 'Replication is timed out' or hangs with 'aimem' storage
engine
Key: IGNITE-21777
URL: https://issues.apache.org/jira/browse/IGNITE-21777
Project: Ignite
Issue Type: Bug
Affects Versions: 3.0.0-beta2
Environment: Cluster of 2 nodes.
Storage engine - aimem.
Reporter: Nikita Sivkov
*Steps to reproduce:* # Create a cluster with 2 nodes.
# Connect via JDBC.
# Repeat the following SQL statements in a loop (for example, 100 times):
** {{drop table if exists tags}}
** {{create zone if not exists "AIMEM" engine aimem}}
** {{create table tags(tagId integer not null, tag varchar(100) not null,
primary key (tagId)) with PRIMARY_ZONE='AIMEM'}}
** {{insert into tags(tagId, tag) values (1,'unit'), (2,'integration'),
(3,'smoke'), (4,'sanity'), (5,'regression')}}
*Expected result:*
No errors or hangs happen.
*Actual result:*
Hangs on {{Create table}} or {{Insert into}} statement.
OR
Get the error {{Replication is timed out}}
{code:java}
Replication is timed out [replicaGrpId=34_part_16]
java.sql.SQLException: Replication is timed out [replicaGrpId=34_part_16]
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.executeUpdate(JdbcStatement.java:181)
at
org.gridgain.ai3tests.tests.teststeps.JdbcSteps.executeUpdateQuery(JdbcSteps.java:116)
at
org.gridgain.ai3tests.tests.UpdateTests.wannaCatchTheBug(UpdateTests.java:95)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)