Repository navigation
allow loadbalanced DB - #14279
allow loadbalanced DB#14279DaanHoogland wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.22 #14279 +/- ##
=========================================
Coverage 18.00% 18.00%
- Complexity 16219 16221 +2
=========================================
Files 5936 5936
Lines 535716 535716
Branches 65596 65597 +1
=========================================
+ Hits 96459 96464 +5
+ Misses 428268 428261 -7
- Partials 10989 10991 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
|
@nabassa1323, @weizhouapache , can you add your comments/test results here? |
|
@DaanHoogland @weizhouapache — test results (also posted on #14172): Setup: CloudStack 4.22.1.0, 2 MS, MariaDB GTID primary+replica, Test: stopped primary MySQL + primary-site MS. Results:
We support merging this PR for 4.22.2 on that basis. |
| } | ||
|
|
||
| private static String getDBHAParams(String dbName, Properties dbProps) { | ||
| private static String getDBHAParams(String dbName, Properties dbProps, String loadBalanceStrategy) { |
There was a problem hiding this comment.
is the new parameter loadBalanceStrategy needed ?
String loadBalanceStrategy = dbProps.getProperty("db.ha.loadBalanceStrategy");
There was a problem hiding this comment.
@nabassa1323 , @weizhouapache is right, if this is the only place it needs to be loaded, it doesn't have to be on the parameter list. Can you apply or rebuke?
There was a problem hiding this comment.
sorry, never mind the apply. I'll do this.


Description
This PR...
Fixes: #14172
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?