[ https://issues.apache.org/jira/browse/IGNITE-20279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Uttsel updated IGNITE-20279: ----------------------------------- Description: The issue is shown in the test, where several zone change operations occur. In this case, the operation can be reordered and incomplete at the end of the test. There are messages "Received update for replicas number" in the test log in a wrong order. The reproducer based on ItRebalanceDistributedTest#testThreeQueuedRebalances: {code:java} @Test void testThreeQueuedRebalances() throws Exception { Node node = getNode(0); createZone(node, ZONE_NAME, 1, 1); createTable(node, ZONE_NAME, TABLE_NAME); assertTrue(waitForCondition(() -> getPartitionClusterNodes(node, 0).size() == 1, AWAIT_TIMEOUT_MILLIS)); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); waitPartitionAssignmentsSyncedToExpected(0, 2); checkPartitionNodes(0, 2); } {code} was: The issue is shown in the test, where several zone change operations occur. In this case, the operation can be reordered and incomplete at the end of the test. There are messages "Received update for replicas number" in the test log in a wrong order. The reproducer based on ItRebalanceDistributedTest#testThreeQueuedRebalances. See exception in the test log: {code:java} @Test void testThreeQueuedRebalances() throws Exception { Node node = getNode(0); createZone(node, ZONE_NAME, 1, 1); createTable(node, ZONE_NAME, TABLE_NAME); assertTrue(waitForCondition(() -> getPartitionClusterNodes(node, 0).size() == 1, AWAIT_TIMEOUT_MILLIS)); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); alterZone(node, ZONE_NAME, 3); alterZone(node, ZONE_NAME, 2); waitPartitionAssignmentsSyncedToExpected(0, 2); checkPartitionNodes(0, 2); } {code} > Reordering of altering zone operations > -------------------------------------- > > Key: IGNITE-20279 > URL: https://issues.apache.org/jira/browse/IGNITE-20279 > Project: Ignite > Issue Type: Bug > Reporter: Vladislav Pyatkov > Assignee: Sergey Uttsel > Priority: Major > Labels: ignite-3 > Time Spent: 10m > Remaining Estimate: 0h > > The issue is shown in the test, where several zone change operations occur. > In this case, the operation can be reordered and incomplete at the end of the > test. There are messages "Received update for replicas number" in the test > log in a wrong order. The reproducer based on > ItRebalanceDistributedTest#testThreeQueuedRebalances: > {code:java} > @Test > void testThreeQueuedRebalances() throws Exception { > Node node = getNode(0); > createZone(node, ZONE_NAME, 1, 1); > createTable(node, ZONE_NAME, TABLE_NAME); > assertTrue(waitForCondition(() -> getPartitionClusterNodes(node, > 0).size() == 1, AWAIT_TIMEOUT_MILLIS)); > alterZone(node, ZONE_NAME, 2); > alterZone(node, ZONE_NAME, 3); > alterZone(node, ZONE_NAME, 2); > alterZone(node, ZONE_NAME, 3); > alterZone(node, ZONE_NAME, 2); > alterZone(node, ZONE_NAME, 3); > alterZone(node, ZONE_NAME, 2); > alterZone(node, ZONE_NAME, 3); > alterZone(node, ZONE_NAME, 2); > alterZone(node, ZONE_NAME, 3); > alterZone(node, ZONE_NAME, 2); > waitPartitionAssignmentsSyncedToExpected(0, 2); > checkPartitionNodes(0, 2); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)