Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4898

cmapi not respect custom mariadb port for crossenginesupport from Columnstore.xml

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • cmapi-1.5, cmapi-1.6
    • cmapi-1.6.2
    • cmapi
    • 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

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              Richard Richard Stracke
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.