Add support for Oracle connections string to support failover setups#35413
Conversation
|
CI failed on this - lets restart it and see the results |
|
Smb external failed. Known issue. Unrelated |
19758ce to
3e764f0
Compare
Codecov Report
@@ Coverage Diff @@
## master #35413 +/- ##
============================================
- Coverage 65.81% 65.66% -0.15%
+ Complexity 18818 18667 -151
============================================
Files 1228 1221 -7
Lines 70982 70602 -380
Branches 1289 1288 -1
============================================
- Hits 46716 46361 -355
+ Misses 23888 23864 -24
+ Partials 378 377 -1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #35413 +/- ##
============================================
- Coverage 67.18% 65.8% -1.39%
- Complexity 18760 18762 +2
============================================
Files 1168 1229 +61
Lines 63575 70861 +7286
Branches 0 1289 +1289
============================================
+ Hits 42716 46630 +3914
- Misses 20859 23853 +2994
- Partials 0 378 +378
Continue to review full report at Codecov.
|
|
A rebase gets this up-to-date with current drone that avoids the dead smb_windows - done. |
58a2b85 to
22e71c3
Compare
|
527fbcb to
b645543
Compare
|
I assume that all the DB parameters are required. There are a couple of things that aren't clear for me:
I think we should clarify both things in the command help |
| } | ||
| if (!$result or $row[0]==0) { | ||
| // the connection is not needed anymore | ||
| \oci_close($connection); |
There was a problem hiding this comment.
What issue triggered the need for closing the connection here?
There was a problem hiding this comment.
This was a long time dangling resource - we shall free any unused resources.
I discovered this while work on the code base
|
Code looks fine to me
Any recommendation for QA here, how to setup a failover scenario with oracle? |
I lack the knowledge on how to setup an oracle cluster - no idea if the XE dockers even can do this. |
b645543 to
bb5db2b
Compare
parameter description has bee adjusted - THX |
Description
Some failover/HA configurations in the Oracle world require support of connect strings.
Examples can be found here: https://docs.oracle.com/database/121/HABPT/config_fcf.htm#HABPT5391
This PR adds installation and operations using a new database config parameter: dbconnectionstring in config.php
Motivation and Context
Support Oracle HA/Failover scenarios
How Has This Been Tested?
Types of changes
Checklist:
Open tasks: