-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
feature : support least active load balance #2676
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2676 +/- ##
=============================================
- Coverage 50.92% 50.77% -0.15%
- Complexity 2817 2823 +6
=============================================
Files 558 560 +2
Lines 17941 17972 +31
Branches 2129 2103 -26
=============================================
- Hits 9136 9126 -10
- Misses 7938 7955 +17
- Partials 867 891 +24 |
Codecov Report
@@ Coverage Diff @@
## develop #2676 +/- ##
=============================================
+ Coverage 50.45% 50.49% +0.04%
- Complexity 3108 3124 +16
=============================================
Files 593 596 +3
Lines 19571 19622 +51
Branches 2427 2431 +4
=============================================
+ Hits 9874 9908 +34
- Misses 8702 8719 +17
Partials 995 995
|
...eata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java
Outdated
Show resolved
Hide resolved
...eata-discovery-core/src/main/java/io/seata/discovery/loadbalance/LeastActiveLoadBalance.java
Outdated
Show resolved
Hide resolved
# Conflicts: # discovery/seata-discovery-core/src/main/resources/META-INF/services/io.seata.discovery.loadbalance.LoadBalance # discovery/seata-discovery-core/src/test/java/io/seata/discovery/loadbalance/LoadBalanceTest.java
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
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
Codecov Report
@@ Coverage Diff @@
## develop #2676 +/- ##
=============================================
+ Coverage 50.89% 50.94% +0.05%
- Complexity 3205 3222 +17
=============================================
Files 602 605 +3
Lines 19836 19887 +51
Branches 2477 2481 +4
=============================================
+ Hits 10096 10132 +36
- Misses 8726 8742 +16
+ Partials 1014 1013 -1
|
Ⅰ. Describe what this PR did
support LeastActiveLoadBalance
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews