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-5852 #2809
IGNITE-5852 #2809
Conversation
|
||
assert assignment != null; | ||
|
||
idealAssignment = assignment; | ||
|
||
baselineTopology = discoCache.state().baselineTopology(); | ||
|
||
if (baselineTopology == null) |
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.
Why doesn't hasBaseline use here?
return false; | ||
} | ||
|
||
private static boolean isApplicable(ChangeGlobalStateMessage msg, DiscoveryDataClusterState state) { |
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.
Lack of JavaDoc.
return !msg.baselineTopology().equals(state.baselineTopology()); | ||
} | ||
|
||
private static boolean isEquivalent(DiscoveryDataClusterState oldState, DiscoveryDataClusterState newState) { |
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.
Lack of JavaDoc.
* @param msg State change message. | ||
* @return Wrapped state change future. | ||
*/ | ||
protected IgniteInternalFuture<?> wrapStateChangeFuture(IgniteInternalFuture fut, ChangeGlobalStateMessage msg) { |
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.
What is the aim of extracting such method?
…ks when BLT is changed.
…ks when BLT is changed.
# Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java # modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsIgniteMock.java
The ticket is resolved, closing PR. Feel free to reopen if it is needed. |
No description provided.