You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (Jira)" <ji...@apache.org> on 2021/12/03 05:48:00 UTC
[jira] [Created] (IGNITE-16049) Assertion error on SQL query splitting while dropping table
Alexander Belyak created IGNITE-16049:
-----------------------------------------
Summary: Assertion error on SQL query splitting while dropping table
Key: IGNITE-16049
URL: https://issues.apache.org/jira/browse/IGNITE-16049
Project: Ignite
Issue Type: Bug
Components: sql
Affects Versions: 2.11
Reporter: Alexander Belyak
Assignee: Alexander Belyak
There are few exceptions:
Step to reproduce the first:
1) Insert small thread sleep into GridSqlQuerySplitter.split0 before "H2Utils.checkQuery(idx, cacheIds, splitter.tbls);"
2) Run AbstractQueryTableLockAndConnectionPoolSelfTest.testMultipleNodesWithTablesLockQueryAndTableDrop test
Exception:
{noformat}
java.lang.AssertionError
at org.apache.ignite.internal.processors.query.h2.H2Utils.checkQuery(H2Utils.java:1045)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split0(GridSqlQuerySplitter.java:330)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split(GridSqlQuerySplitter.java:221)
at org.apache.ignite.internal.processors.query.h2.QueryParser.parseH2(QueryParser.java:563)
at org.apache.ignite.internal.processors.query.h2.QueryParser.parse0(QueryParser.java:232)
at org.apache.ignite.internal.processors.query.h2.QueryParser.parse(QueryParser.java:141)
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.querySqlFields(IgniteH2Indexing.java:1188)
at org.apache.ignite.internal.processors.query.GridQueryProcessor$2.applyx(GridQueryProcessor.java:2877)
at org.apache.ignite.internal.processors.query.GridQueryProcessor$2.applyx(GridQueryProcessor.java:2873)
at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:35)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:3425)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.lambda$querySqlFields$3(GridQueryProcessor.java:2893)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuerySafe(GridQueryProcessor.java:2931)
[14:43:32] >>> Stopping test: IgniteQueryTableLockAndConnectionPoolLazyModeOffTest#testMultipleNodesWithTablesLockQueryAndTableDrop in 22663 ms <<<
at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2867)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2794)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2767)
at org.apache.ignite.internal.processors.query.AbstractQueryTableLockAndConnectionPoolSelfTest.execute(AbstractQueryTableLockAndConnectionPoolSelfTest.java:877)
at org.apache.ignite.internal.processors.query.AbstractQueryTableLockAndConnectionPoolSelfTest.access$100(AbstractQueryTableLockAndConnectionPoolSelfTest.java:50)
at org.apache.ignite.internal.processors.query.AbstractQueryTableLockAndConnectionPoolSelfTest$3.run(AbstractQueryTableLockAndConnectionPoolSelfTest.java:434)
at org.apache.ignite.testframework.GridTestUtils$7.call(GridTestUtils.java:1578)
at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:87){noformat}
Step to reproduce the second:AbstractQueryTableLockAndConnectionPoolSelfTest.testMultipleNodesWithTablesLockQueryAndTableDrop test with “Repeat: Until failure“Exception:
{noformat}
java.lang.AssertionError: tblName
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlTable.<init>(GridSqlTable.java:67)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlTable.<init>(GridSqlTable.java:55)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser.parseTable(GridSqlQueryParser.java:683)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser.parseTableFilter(GridSqlQueryParser.java:655)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser.parseSelect(GridSqlQueryParser.java:763)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser.parseQuery(GridSqlQueryParser.java:2007)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser.parse(GridSqlQueryParser.java:1957)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQueryParser.parseQuery(GridSqlQueryParser.java:1943)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split0(GridSqlQuerySplitter.java:285)
at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split(GridSqlQuerySplitter.java:221)
at org.apache.ignite.internal.processors.query.h2.QueryParser.parseH2(QueryParser.java:563)
at org.apache.ignite.internal.processors.query.h2.QueryParser.parse0(QueryParser.java:232)
at org.apache.ignite.internal.processors.query.h2.QueryParser.parse(QueryParser.java:141)
at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.querySqlFields(IgniteH2Indexing.java:1188)
at org.apache.ignite.internal.processors.query.GridQueryProcessor$2.applyx(GridQueryProcessor.java:2877)
at org.apache.ignite.internal.processors.query.GridQueryProcessor$2.applyx(GridQueryProcessor.java:2873)
at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:35)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:3425)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.lambda$querySqlFields$3(GridQueryProcessor.java:2893)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuerySafe(GridQueryProcessor.java:2931)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2867)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2794)
at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2767)
at org.apache.ignite.internal.processors.query.AbstractQueryTableLockAndConnectionPoolSelfTest.execute(AbstractQueryTableLockAndConnectionPoolSelfTest.java:879)
at org.apache.ignite.internal.processors.query.AbstractQueryTableLockAndConnectionPoolSelfTest.access$100(AbstractQueryTableLockAndConnectionPoolSelfTest.java:50)
at org.apache.ignite.internal.processors.query.AbstractQueryTableLockAndConnectionPoolSelfTest$3.run(AbstractQueryTableLockAndConnectionPoolSelfTest.java:434)
at org.apache.ignite.testframework.GridTestUtils$7.call(GridTestUtils.java:1578)
at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:87)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)