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

Failover code for dbroot move fails with storagemanager

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Icebox
    • Fix Version/s: N/A
    • Component/s: ?, Storage Manager
    • Labels:
      None

      Description

      The current failover code when a pm module goes down will try to move a dbroot to another node in a variety of cases. this code returns on internal storage. however the current checks do not verify proper behavior for StorageManager storage type.

      from bool Oam::autoMovePmDbroot(std::string residePM) :

          writeLog("autoMovePmDbroot: " + residePM, LOG_TYPE_DEBUG );
       
          string DBRootStorageType;
       
          try
          {
              getSystemConfig("DBRootStorageType", DBRootStorageType);
          }
          catch (...) {}
       
          string DataRedundancyConfig = "n";
       
          try
          {
              getSystemConfig( "DataRedundancyConfig", DataRedundancyConfig);
          }
          catch (...)
          {
              DataRedundancyConfig = "n";
          }
       
          if (DBRootStorageType == "internal" && DataRedundancyConfig == "n")
              return 1;
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ben.thompson Ben Thompson
              Reporter:
              ben.thompson Ben Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.