Igor created IGNITE-22814:
-----------------------------
Summary: Exception `Max retry limit exceeded: 10` while creating
1000 tables in 10 threads with replication 1
Key: IGNITE-22814
URL: https://issues.apache.org/jira/browse/IGNITE-22814
Project: Ignite
Issue Type: Bug
Components: general, persistence
Affects Versions: 3.0.0-beta2
Environment: Cluster of *1 server* located on 1 host.
Reporter: Igor
Fix For: 3.0.0-beta2
Attachments: servers_logs.zip
*Steps to reproduce:*
Cluster of *1 server* located on 1 host.
# In 10 threads create 50 tables:
## Create zone if not exists (same name for all tables) with replication 1.
## Create table (all tables have different names).
# In 1 thread assert tables count
# In 10 threads: insert 1 row in every table created in step 1
# In 10 threads: assert tables rows are correct.
# Repeat steps 1-4 until 1000 tables are created.
*Expected:*
All tables are created.
*Actual:*
Exception on client side after 850-950 tables, on some mchines can be after 450
tables:
{code:java}
Max retry limit exceeded: 10
java.sql.SQLException: Max retry limit exceeded: 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.executeUpdate(JdbcStatement.java:177)
at
org.gridgain.qaaas.sql.generator.TableGeneratorHelper.createTable(TableGeneratorHelper.java:98)
at
org.gridgain.ai3tests.tests.amountcapacity.TablesAmountCapacityBaseTest.lambda$createTablesParallel$0(TablesAmountCapacityBaseTest.java:121)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833){code}
Servers logs: [^servers_logs.zip]:
*Comment:*
The same code running on *3 server with replication 3* cannot create 50 tables:
https://issues.apache.org/jira/browse/IGNITE-22813.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)