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

The plugin code doesn't fetch the updates from Columnstore.xml in case of a failover situation w/o restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.6.2, 6.1.1
    • Fix Version/s: 6.2.2
    • Component/s: Connector
    • Labels:
      None

      Description

      The MCOL-4692 change eliminates a global mutex symbol that protects access to Columnstore.xml file crit section in OAMCache. This mutex allows to fetch the updated Columnstore.xml from disk on every operation. The current cluster configuration has two important parts: mariadb runtime and MCS runtime that in its turn includes a number of processes. Whilst CMAPI restarts MCS runtime processes every time when the cluster topology changes, e.g. failover case there is nobody to restart mariadb so the plugin code that resides in mariadb runtime doesn't fetch the updated Columnstore.xml so it doesn't know where DBRM controller or ExeMgr1 now are so clientrotator code fails to connect to ExeMgr1 until mariadb is restarted.
      The suggested solution is to either:

      • return the global mutex but use it in the plugin code only
      • introduce service thread to watch and read Columnstore.xml

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              drrtuy Roman
              Reporter:
              drrtuy Roman
              Votes:
              1 Vote for this issue
              Watchers:
              3 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.