Phillippko commented on code in PR #6033: URL: https://github.com/apache/ignite-3/pull/6033#discussion_r2152082401
########## modules/distribution-zones/src/integrationTest/java/org/apache/ignite/internal/rebalance/ItRebalanceTest.java: ########## @@ -146,6 +149,34 @@ void assignmentsChangingOnNodeLeaveNodeJoin() throws Exception { ); } + @Test + @WithSystemProperty(key = THREAD_ASSERTIONS_ENABLED, value = "false") + public void compactionAfterAbortedRebalance() { + createZone("TEST_ZONE", 1, 1); + createTestTable("TEST_TABLE", "TEST_ZONE"); + + IgniteImpl igniteImpl = igniteImpl(0); + + TableViewInternal table = unwrapTableViewInternal(igniteImpl.tables().table("TEST_TABLE")); + + MvTableStorage storage = table.internalTable().storage(); + + table.keyValueView().put( + null, + Tuple.create().set("id", 1), + Tuple.create().set("val", "value1") + ); + + CompletableFuture<CompletableFuture<Void>> abortRebalance = storage.startRebalancePartition(0) Review Comment: added a check that lastAppliedIndex was reset to 0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org