-
Notifications
You must be signed in to change notification settings - Fork 26.3k
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
Optimize subscription order #13942
Optimize subscription order #13942
Conversation
Quality Gate passedIssues Measures |
@@ -344,17 +344,12 @@ protected void subscribeURLs(URL url, NotifyListener listener, Set<String> servi | |||
Lock appSubscriptionLock = getAppSubscription(serviceNamesKey); | |||
try { | |||
appSubscriptionLock.lock(); | |||
boolean initialization = false; |
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.
Add some comment to describe what is this variable working for.
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.
@chickenlj @CrazyHZM PTAL
I think there are three solutions:
|
|
Yes, register center support is required. |
What is the purpose of the change
refer: #13854
Adjust the order in which subscription services and node changes are triggered for the first time.
Brief changelog
Verifying this change
Checklist