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
[3.0] Fixed the problem that the service was offline for a long time without re-registration #10200
Conversation
Codecov Report
@@ Coverage Diff @@
## 3.0 #10200 +/- ##
=========================================
Coverage 65.69% 65.70%
+ Complexity 297 296 -1
=========================================
Files 1233 1233
Lines 53710 53732 +22
Branches 8107 8111 +4
=========================================
+ Hits 35285 35302 +17
- Misses 14595 14600 +5
Partials 3830 3830
Continue to review full report at Codecov.
|
reason not to use |
you can use |
if other modules reuse the same thread pool, it may delay the execution of tasks of other modules when
|
If the executor cannot be managed through the executor repository, the isolated executor should be in lazy initialization mode and destroyed on shutdown. |
get , i have solved it, pls review |
...keeper/src/main/java/org/apache/dubbo/remoting/zookeeper/curator/CuratorZookeeperClient.java
Outdated
Show resolved
Hide resolved
...keeper/src/main/java/org/apache/dubbo/remoting/zookeeper/curator/CuratorZookeeperClient.java
Outdated
Show resolved
Hide resolved
...keeper/src/main/java/org/apache/dubbo/remoting/zookeeper/curator/CuratorZookeeperClient.java
Show resolved
Hide resolved
…without re-registration (#10200) * 修复因网络抖动导致服务长时间下线没有重新注册的问题 * lazy init CuratorWatcher executor and destroyed on shutdown * add lock on close
What is the purpose of the change
fix bug #10181
Brief changelog
make
EventThread
non-blocking to fix bug #10181ref PR: #10182