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

服务注册中心,当某节点下线时,discoveryData无法去除已下线节点 #7

Merged
merged 1 commit into from
Nov 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
服务注册中心,当某节点下线时,discoveryData无法去除已下线节点
existValues.addAll(childPathData.keySet())前先clear该set数据
  • Loading branch information
LockiJiang committed Nov 14, 2018
commit 5b3cd06a243990dd9b6a4d7866b99a778b8d0e2a
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ private void refreshDiscoveryData(String key){
}

if (childPathData.size() > 0) {
existValues.clear();
existValues.addAll(childPathData.keySet());
}
}
Expand Down