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

Slaves do not auto-register themselves with master

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • Replication
    • None

    Description

      If the report-host variable is not manually set on the slaves, the hostname or IP address is not automatically registered with the master and SHOW SLAVE HOSTS reports an empty string:

      MariaDB [(none)]> show slave hosts;

      Server_id Host Port Master_id
      12   3306 11

      This causes replication topology auto-discovery to be impractical, and advanced tools (such as failover management or replication hierarchy management tools) to be a pain to develop.

      Suggestion is to set report-host with a default value, e.g. syscall to gethostname or gethostbyname.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tanj Guillaume Lefranc
            Votes:
            4 Vote for this issue
            Watchers:
            8 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.