-
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
Nacos客户端磁盘降级需求 issues:11053 #11207
Nacos客户端磁盘降级需求 issues:11053 #11207
Conversation
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverDataSource.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/cache/ServiceInfoHolder.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/backups/FailoverReactor.java
Outdated
Show resolved
Hide resolved
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #11207 +/- ##
=============================================
+ Coverage 54.06% 60.25% +6.18%
- Complexity 5509 5854 +345
=============================================
Files 893 892 -1
Lines 28525 26914 -1611
Branches 3160 2765 -395
=============================================
+ Hits 15423 16217 +794
+ Misses 11757 9584 -2173
+ Partials 1345 1113 -232
... and 163 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
Will be merged after 2.3.0 released.
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
#11053
Brief changelog
1.使用磁盘来实现Nacos客户端降级方案
2.可以修改机器上的文件,开启或关闭降级,并且指定需要降级的服务
3.查询机器列表时,优先走降级逻辑
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.