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 Lapin (Jira)" <ji...@apache.org> on 2023/03/29 11:50:00 UTC

[jira] [Commented] (IGNITE-19091) Sql. ItIgniteNodeRestartTest::testQueryCorrectnessAfterNodeRestart failed. AssertError: Token must be greater than actual [token=4, actual=4]

    [ https://issues.apache.org/jira/browse/IGNITE-19091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17706365#comment-17706365 ] 

Alexander Lapin commented on IGNITE-19091:
------------------------------------------

[~mzhuravkov] There's a chance (rather big one) that given assertion error is a result of bugs in parallel meta storage watches. Such watches will be reverted in the nearest future within https://issues.apache.org/jira/browse/IGNITE-19129. Could you please recheck the test after IGNITE-19129 will be resolved?

 

> Sql. ItIgniteNodeRestartTest::testQueryCorrectnessAfterNodeRestart failed. AssertError: Token must be greater than actual [token=4, actual=4]
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-19091
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19091
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 3.0.0-beta2
>            Reporter: Maksim Zhuravkov
>            Priority: Major
>              Labels: calcite3-required, ignite-3
>
> After implementation of https://issues.apache.org/jira/browse/IGNITE-18225 ItIgniteNodeRestartTest::testQueryCorrectnessAfterNodeRestart fails with an error in code that processes table creation event: .engine.schema.SqlSchemaManagerImpl.onTableCreated.
> AssertionError:
> {code:java}
> 2023-03-22 11:58:12:859 +0400 [WARNING][MessagingService-inbound-0][TableManager] Error occurred while updating tables.
> java.util.concurrent.CompletionException: java.lang.AssertionError: Token must be greater than actual [token=4, actual=4]
> 	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
> 	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
> 	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1081)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.internal.causality.VersionedValue.completeInternal(VersionedValue.java:323)
> 	at org.apache.ignite.internal.causality.VersionedValue.lambda$completeOnRevision$4(VersionedValue.java:483)
> 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.internal.raft.RaftGroupServiceImpl.lambda$sendWithRetry$38(RaftGroupServiceImpl.java:525)
> 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:363)
> 	at org.apache.ignite.network.DefaultMessagingService.onMessage(DefaultMessagingService.java:328)
> 	at org.apache.ignite.network.DefaultMessagingService.lambda$onMessage$3(DefaultMessagingService.java:306)
> 	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:829)
> Caused by: java.lang.AssertionError: Token must be greater than actual [token=4, actual=4]
> 	at org.apache.ignite.internal.causality.VersionedValue.checkToken(VersionedValue.java:580)
> 	at org.apache.ignite.internal.causality.VersionedValue.update(VersionedValue.java:393)
> 	at org.apache.ignite.internal.sql.engine.schema.SqlSchemaManagerImpl.onTableCreated(SqlSchemaManagerImpl.java:218)
> 	at org.apache.ignite.internal.sql.engine.SqlQueryProcessor$TableCreatedListener.notify(SqlQueryProcessor.java:583)
> 	at org.apache.ignite.internal.sql.engine.SqlQueryProcessor$TableCreatedListener.notify(SqlQueryProcessor.java:575)
> 	at org.apache.ignite.internal.manager.Producer.fireEvent(Producer.java:108)
> 	at org.apache.ignite.internal.manager.Producer.fireEvent(Producer.java:129)
> 	at org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableLocally$36(TableManager.java:1183)
> 	at org.apache.ignite.internal.util.IgniteUtils.inBusyLock(IgniteUtils.java:870)
> 	at org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableLocally$37(TableManager.java:1183)
> 	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
> 	... 19 more
> 2023-03-22 11:58:12:863 +0400 [INFO][MessagingService-inbound-0][ConfigurationRegistry] Failed to notify configuration listener
> java.util.concurrent.CompletionException: java.lang.AssertionError: Token must be greater than actual [token=4, actual=4]
> 	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
> 	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
> 	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1081)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.internal.causality.VersionedValue.completeInternal(VersionedValue.java:323)
> 	at org.apache.ignite.internal.causality.VersionedValue.lambda$completeOnRevision$4(VersionedValue.java:483)
> 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.internal.raft.RaftGroupServiceImpl.lambda$sendWithRetry$38(RaftGroupServiceImpl.java:525)
> 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:363)
> 	at org.apache.ignite.network.DefaultMessagingService.onMessage(DefaultMessagingService.java:328)
> 	at org.apache.ignite.network.DefaultMessagingService.lambda$onMessage$3(DefaultMessagingService.java:306)
> 	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:829)
> Caused by: java.lang.AssertionError: Token must be greater than actual [token=4, actual=4]
> 	at org.apache.ignite.internal.causality.VersionedValue.checkToken(VersionedValue.java:580)
> 	at org.apache.ignite.internal.causality.VersionedValue.update(VersionedValue.java:393)
> 	at org.apache.ignite.internal.sql.engine.schema.SqlSchemaManagerImpl.onTableCreated(SqlSchemaManagerImpl.java:218)
> 	at org.apache.ignite.internal.sql.engine.SqlQueryProcessor$TableCreatedListener.notify(SqlQueryProcessor.java:583)
> 	at org.apache.ignite.internal.sql.engine.SqlQueryProcessor$TableCreatedListener.notify(SqlQueryProcessor.java:575)
> 	at org.apache.ignite.internal.manager.Producer.fireEvent(Producer.java:108)
> 	at org.apache.ignite.internal.manager.Producer.fireEvent(Producer.java:129)
> 	at org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableLocally$36(TableManager.java:1183)
> 	at org.apache.ignite.internal.util.IgniteUtils.inBusyLock(IgniteUtils.java:870)
> 	at org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableLocally$37(TableManager.java:1183)
> 	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
> 	... 19 more
> 2023-03-22 11:58:12:867 +0400 [ERROR][MessagingService-inbound-0][WatchProcessor] Error occurred when processing a watch event WatchEvent [entryEvts=ArrayList [EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 10 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 10 more], val=[4, 1, 0, 0, 0], rev=4, updCntr=6]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 60, 105, 100, 115, 62, 46, 84, 65, 66, 76, 69, 49], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 60, 105, 100, 115, 62, 46, 84, 65, 66, 76, 69, 49], val=[10, -82, 70, 25, -36, 69, -32, 48, -93, 31, -68, 29, -31, 39, 112, 31, -109], rev=4, updCntr=7]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 112, 114, 105, 109, 97, 114, 121, 75, 101, 121, 46, 99, 111, 108, 111, 99, 97, 116, 105, 111, 110, 67, 111, 108, 117, 109, 110, 115], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 112, 114, 105, 109, 97, 114, 121, 75, 101, 121, 46, 99, 111, 108, 111, 99, 97, 116, 105, 111, 110, 67, 111, 108, 117, 109, 110, 115], val=[-119, 2, 0, 0, 0, 73, 68], rev=4, updCntr=8]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 116, 97, 98, 108, 101, 73, 100], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 116, 97, 98, 108, 101, 73, 100], val=[4, 1, 0, 0, 0], rev=4, updCntr=9]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 13 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 13 more], val=[4, 0, 0, 0, 0], rev=4, updCntr=10]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 13 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 13 more], val=[4, 0, 0, 0, 0], rev=4, updCntr=11]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 10 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 10 more], val=[4, 0, 0, 0, 0], rev=4, updCntr=12]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 28 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 28 more], val=[9, 78, 85, 76, 76], rev=4, updCntr=13]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 11 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 11 more], val=[1, 0], rev=4, updCntr=14]4, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 50, 51, 53, 52, 48, 98, 53, 52, 45, 48, 97, 50, 48, 45, 52, 52, 101, 56, 45, 56, 52, 48, 50, 45, 52, 51, 50, 49, 52, 102, 54, 99, 54, 54, 99... and 11 more], val=[1, 0], rev=4, updCntr=14]]... and 48931 skipped ..., 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 11 more], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 99, 111, 108, 117, 109, 110, 115, 46, 56, 101, 50, 53, 102, 49, 51, 49, 45, 98, 53, 53, 102, 45, 52, 56, 56, 101, 45, 57, 49, 97, 48, 45, 48, 97, 57, 102, 98, 56, 101, 52, 49, 100, 98... and 11 more], val=[1, 1], rev=4, updCntr=37]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 115, 99, 104, 101, 109, 97, 73, 100], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 116, 97, 98, 108, 101, 115, 46, 97, 51, 51, 48, 101, 48, 52, 53, 45, 100, 99, 49, 57, 45, 52, 54, 97, 101, 45, 57, 51, 49, 102, 45, 55, 48, 50, 55, 101, 49, 49, 100, 98, 99, 49, 102, 46, 115, 99, 104, 101, 109, 97, 73, 100], val=[4, 1, 0, 0, 0], rev=4, updCntr=38]], EntryEvent [oldEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 103, 108, 111, 98, 97, 108, 73, 100, 67, 111, 117, 110, 116, 101, 114], val=null, rev=0, updCntr=0], newEntry=EntryImpl [key=[100, 115, 116, 45, 99, 102, 103, 46, 116, 97, 98, 108, 101, 46, 103, 108, 111, 98, 97, 108, 73, 100, 67, 111, 117, 110, 116, 101, 114], val=[4, 1, 0, 0, 0], rev=4, updCntr=39]]], revision=4], watch dst-cfg.watch is going to be stopped
> java.util.concurrent.CompletionException: java.lang.AssertionError: Token must be greater than actual [token=4, actual=4]
> 	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
> 	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
> 	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1081)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.internal.causality.VersionedValue.completeInternal(VersionedValue.java:323)
> 	at org.apache.ignite.internal.causality.VersionedValue.lambda$completeOnRevision$4(VersionedValue.java:483)
> 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.internal.raft.RaftGroupServiceImpl.lambda$sendWithRetry$38(RaftGroupServiceImpl.java:525)
> 	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
> 	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
> 	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
> 	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
> 	at org.apache.ignite.network.DefaultMessagingService.onInvokeResponse(DefaultMessagingService.java:363)
> 	at org.apache.ignite.network.DefaultMessagingService.onMessage(DefaultMessagingService.java:328)
> 	at org.apache.ignite.network.DefaultMessagingService.lambda$onMessage$3(DefaultMessagingService.java:306)
> 	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:829)
> Caused by: java.lang.AssertionError: Token must be greater than actual [token=4, actual=4]
> 	at org.apache.ignite.internal.causality.VersionedValue.checkToken(VersionedValue.java:580)
> 	at org.apache.ignite.internal.causality.VersionedValue.update(VersionedValue.java:393)
> 	at org.apache.ignite.internal.sql.engine.schema.SqlSchemaManagerImpl.onTableCreated(SqlSchemaManagerImpl.java:218)
> 	at org.apache.ignite.internal.sql.engine.SqlQueryProcessor$TableCreatedListener.notify(SqlQueryProcessor.java:583)
> 	at org.apache.ignite.internal.sql.engine.SqlQueryProcessor$TableCreatedListener.notify(SqlQueryProcessor.java:575)
> 	at org.apache.ignite.internal.manager.Producer.fireEvent(Producer.java:108)
> 	at org.apache.ignite.internal.manager.Producer.fireEvent(Producer.java:129)
> 	at org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableLocally$36(TableManager.java:1183)
> 	at org.apache.ignite.internal.util.IgniteUtils.inBusyLock(IgniteUtils.java:870)
> 	at org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableLocally$37(TableManager.java:1183)
> 	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
> {code}
> Test error:
> {code:java}
> java.lang.AssertionError: java.util.concurrent.TimeoutException
> 	at org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:105)
> 	at org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:39)
> 	at org.hamcrest.TypeSafeMatcher.matches(TypeSafeMatcher.java:67)
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:10)
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
> 	at org.apache.ignite.internal.runner.app.ItIgniteNodeRestartTest.startNode(ItIgniteNodeRestartTest.java:555)
> 	at org.apache.ignite.internal.runner.app.ItIgniteNodeRestartTest.startNode(ItIgniteNodeRestartTest.java:569)
> 	at org.apache.ignite.internal.runner.app.ItIgniteNodeRestartTest.testQueryCorrectnessAfterNodeRestart
> {code}



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