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

[JAV-585]Loadbalance rule dynamic configuration is not work at some time #454

Merged
merged 5 commits into from Dec 22, 2017
Merged

Conversation

laijianbin
Copy link
Contributor

@laijianbin laijianbin commented Dec 21, 2017

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [JAV-XXX] Fixes bug in ApproximateQuantiles, where you replace JAV-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

boolean isRuleNotChanged = StringUtils.equals(policy,this.policy) && StringUtils.equals(strategy, this.strategy);

if (!isRuleNotChanged){
boolean isRuleNotChanged = isEqual(policy, this.policy) && isEqual(strategy,this.strategy);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not format code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I forget it and I have modified

Assert.assertEquals(false, globalNotNull);
boolean localNotNull = handler.isEqual("com.netflix.loadbalancer.RandomRule", null);
Assert.assertEquals(false, localNotNull);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete empty lines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, and I finished

@WillemJiang
Copy link
Member

@laijianbin I don't think you logged a right JIRA ID. Can you double check the JIRA ID?

@laijianbin
Copy link
Contributor Author

@WillemJiang create a task at opensource JIRA and use opensource JIRA ID?

@laijianbin laijianbin changed the title [JAVA-961] Dynamic configuration is not valid at some time [JAV-585]Loadbalance rule dynamic configuration is not work at some time Dec 22, 2017
@WillemJiang WillemJiang reopened this Dec 22, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 662d8c9 on laijianbin:jhfre into ** on apache:master**.

@WillemJiang WillemJiang merged commit 1c73589 into apache:master Dec 22, 2017
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

5 participants