-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-23879 Indicate stable switch after the second phase of resetPartitions #4916
Conversation
# Conflicts: # modules/table/src/integrationTest/java/org/apache/ignite/internal/disaster/ItDisasterRecoveryReconfigurationTest.java
|
||
@Test | ||
@ZoneParams(nodes = 5, replicas = 3, partitions = 1) | ||
public void testPlanningIsOverwritten() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
planned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Assignments assignmentForced1 = Assignments.forced(Set.of(Assignment.forPeer(node(1).name())), timestamp); | ||
|
||
assertPendingAssignments(node0, partId, assignmentForced1); | ||
|
||
// secondPhaseOfReset == true, force == false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fromReset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
* | ||
* <p>The reset is executed in two stages - first we switch to a single node having the most up-to-date data, | ||
* then we switch to other available nodes up to the configured replica factor, in the case of manual reset, and to available nodes from the | ||
* original group, in the case of manual. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not manual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
https://issues.apache.org/jira/browse/IGNITE-23879