Skip to content
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

Closed
wants to merge 8 commits into from
Closed

IGNITE-5852 #2809

wants to merge 8 commits into from

Conversation

ilantukh
Copy link
Contributor

@ilantukh ilantukh commented Oct 5, 2017

No description provided.


assert assignment != null;

idealAssignment = assignment;

baselineTopology = discoCache.state().baselineTopology();

if (baselineTopology == null)
Copy link
Contributor

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) {
Copy link
Contributor

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) {
Copy link
Contributor

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) {
Copy link
Contributor

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?

Eduard Shangareev added 2 commits October 24, 2017 14:41
# 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
@dspavlov
Copy link
Contributor

dspavlov commented Aug 2, 2019

The ticket is resolved, closing PR. Feel free to reopen if it is needed.

@dspavlov dspavlov closed this Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants