Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
cmapi-1.5, cmapi-1.6
-
None
-
2021-17
Description
Given the following config
|
*******************************
|
<CrossEngineSupport>
|
<Host>127.0.0.1</Host> |
<Port>3307</Port> |
<User>cross_engine</User>
|
<Password>xxxxxxxx</Password>
|
**************************
|
|
The sourcecode from cmapi reveals:
|
node_config = NodeConfig()
|
root = node_config.get_current_config_root()
|
ces_node = root.find("./CrossEngineSupport") |
username = ces_node.find("./User").text |
password = ces_node.find("./Password").text |
|
|
cmd = (f"/usr/bin/mariadb -h 127.0.0.1 -u '{username}' --password='{password}' -sN -e \ |
\"SELECT COUNT(1) AS slave_threads FROM information_schema.PROCESSLIST WHERE USER = 'system user' AND COMMAND LIKE 'Slave%';\"") |
|
So Port will neither not be read from Columnstore.xml nor used in the mariadb commandline
Attachments
Issue Links
- is part of
-
MCOL-4850 Refactor CMAPI to meet PEP-8 styleguide
- Stalled