-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[ISSUE#5253] Fix missing identity header error #5309
[ISSUE#5253] Fix missing identity header error #5309
Conversation
core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java
Outdated
Show resolved
Hide resolved
/** | ||
* Broadcast this node element information task. | ||
*/ | ||
private final MemberInfoReportTask infoReportTask = new MemberInfoReportTask(); |
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.
Please do not modify if there is no change.
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.
Ok
@@ -414,13 +415,13 @@ public void shutdown() throws NacosException { | |||
} | |||
|
|||
@JustForTest | |||
public void updateMember(Member member) { | |||
serverList.put(member.getAddress(), member); | |||
public void setMemberAddressInfos(Set<String> memberAddressInfos) { |
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.
Same reason.
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.
Ok
} | ||
|
||
@JustForTest | ||
public void setMemberAddressInfos(Set<String> memberAddressInfos) { | ||
this.memberAddressInfos = memberAddressInfos; | ||
public void updateMember(Member member) { |
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.
Same reason.
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.
Ok
|
||
} | ||
}); | ||
.post(url, header, Query.EMPTY, getSelf(), reference.getType(), new Callback<String>() { |
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.
Same reason.
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.
Ok
@haoyann Please help me review again |
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.
LGTM
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
Fix #5253
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Runmvn clean install -DskipITs
to make sure unit-test pass. Runmvn clean test-compile failsafe:integration-test
to make sure integration-test pass.