You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Dmitrienko (Jira)" <ji...@apache.org> on 2025/02/17 20:34:00 UTC
[jira] [Updated] (IGNITE-24540) Creating 1000 tables with 200 columns throws "The primary replica has changed"
[ https://issues.apache.org/jira/browse/IGNITE-24540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Dmitrienko updated IGNITE-24540:
-----------------------------------------
Description:
*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.
# Repeat steps 2-5 while amount of tables is 1000.
*Expected:*
1000 tables are created.
*Actual:*
{code:java}
Exception during 400 - 449 tables creation at step 5.
java.sql.SQLException:
The primary replica has changed [
expectedLeaseholderName=TablesAmountCapacityMultiNodeTest_cluster_2, currentLeaseholderName=null,
expectedLeaseholderId=1522cfcd-0400-4d23-9015-31dfbad90780, currentLeaseholderId=null,
expectedEnlistmentConsistencyToken=114017056457556334, currentEnlistmentConsistencyToken=null
]{code}
was:
*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.
# Repeat steps 2-5 while amount of tables is 1000.
*Expected:*
1000 tables are created.
*Actual:*
Exception during 400 - 449 tables creation at step 5.
java.sql.SQLException:
The primary replica has changed [
expectedLeaseholderName=TablesAmountCapacityMultiNodeTest_cluster_2, currentLeaseholderName=null,
expectedLeaseholderId=1522cfcd-0400-4d23-9015-31dfbad90780, currentLeaseholderId=null,
expectedEnlistmentConsistencyToken=114017056457556334, currentEnlistmentConsistencyToken=null
]
> Creating 1000 tables with 200 columns throws "The primary replica has changed"
> ------------------------------------------------------------------------------
>
> Key: IGNITE-24540
> URL: https://issues.apache.org/jira/browse/IGNITE-24540
> 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: Vladimir Dmitrienko
> Priority: Major
> Labels: ignite-3
> Attachments: node_1_logs.zip, node_2_logs.zip, node_3_logs.zip, test.log
>
>
> *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.
> # Repeat steps 2-5 while amount of tables is 1000.
> *Expected:*
> 1000 tables are created.
> *Actual:*
> {code:java}
> Exception during 400 - 449 tables creation at step 5.
> java.sql.SQLException:
> The primary replica has changed [
> expectedLeaseholderName=TablesAmountCapacityMultiNodeTest_cluster_2, currentLeaseholderName=null,
> expectedLeaseholderId=1522cfcd-0400-4d23-9015-31dfbad90780, currentLeaseholderId=null,
> expectedEnlistmentConsistencyToken=114017056457556334, currentEnlistmentConsistencyToken=null
> ]{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)