Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-41147

There is no way to read the current value of MASTER_DEMOTE_TO_SLAVE

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.8
    • None
    • None

    Description

      You can use either of these configurations:

      CHANGE MASTER TO    MASTER_DEMOTE_TO_SLAVE = 0, master_Use_Gtid=slave_pos;
      CHANGE MASTER TO    MASTER_DEMOTE_TO_SLAVE = 1, master_Use_Gtid=slave_pos;
      

      However, the value saved for MASTER_DEMOTE_TO_SLAVE does not appear in show slave status or in the view information_schema.slave_status.
      I do not even know what the default value for MASTER_DEMOTE_TO_SLAVE happens to be because it is not documented.

      Attachments

        Activity

          People

            Unassigned Unassigned
            edward Edward Stoever
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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