Kirill Sizov created IGNITE-23899:
--------------------------------------

             Summary: TableManagerTest emits AssertionErrors
                 Key: IGNITE-23899
                 URL: https://issues.apache.org/jira/browse/IGNITE-23899
             Project: Ignite
          Issue Type: Bug
            Reporter:  Kirill Sizov


After having added logs in IGNITE-23675 Teamcity started to fail with 
AssertionError in tests. 


{noformat}
successfully written to meta storage [tableId=4, assignments= [0=[Assignment 
[consistentId=node1, isPeer=true]]]].
[10:44:52] :         [:ignite-table:test] 
[10:44:52] :         [:ignite-table:test] TableManagerTest > 
testStoragesGetClearedInMiddleOfFailedPartitionStorageRebalance() STANDARD_ERROR
[10:44:52] :         [:ignite-table:test]     
[2024-12-06T10:44:52,131][ERROR][%node1%metastorage-watch-executor-0][WatchProcessor]
 Failed to notify watches.
[10:44:52] :         [:ignite-table:test]     
java.util.concurrent.CompletionException: java.lang.AssertionError: Causality 
token mismatch, expected 2, got 3
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
 ~[?:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
 ~[?:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1081)
 ~[?:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
 [?:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 [?:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 [?:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.lang.Thread.run(Thread.java:834) [?:?]
[10:44:52] :         [:ignite-table:test]     Caused by: 
java.lang.AssertionError: Causality token mismatch, expected 2, got 3
[10:44:52] :         [:ignite-table:test]         at 
org.apache.ignite.internal.causality.IncrementalVersionedValue.completeInternal(IncrementalVersionedValue.java:266)
 ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
[10:44:52] :         [:ignite-table:test]         at 
org.apache.ignite.internal.causality.IncrementalVersionedValue$1.onUpdate(IncrementalVersionedValue.java:112)
 ~[ignite-core-3.0.0-SNAPSHOT.jar:?]
[10:44:52] :         [:ignite-table:test]         at 
org.apache.ignite.internal.metastorage.server.WatchProcessor.notifyUpdateRevisionListeners(WatchProcessor.java:409)
 ~[ignite-metastorage-3.0.0-SNAPSHOT.jar:?]
[10:44:52] :         [:ignite-table:test]         at 
org.apache.ignite.internal.metastorage.server.WatchProcessor.lambda$notifyWatches$4(WatchProcessor.java:206)
 ~[ignite-metastorage-3.0.0-SNAPSHOT.jar:?]
[10:44:52] :         [:ignite-table:test]         at 
java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
 ~[?:?]
[10:44:52] :         [:ignite-table:test]         ... 4 more
[10:44:52] :         [:ignite-table:test]  \{noformat}

 

The tests that emit this error in logs are in TableManagerTest and are now 
disabled.



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

Reply via email to