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

CHANGE MASTER Inconsistent Behavior for Repeat Arguments

    XMLWordPrintable

Details

    • Can result in unexpected behaviour

    Description

      This runs successfully without any warnings and results in 0, 1, 2, 3.

      CHANGE MASTER TO do_domain_ids=(0), do_domain_ids=(2, 3, 3, 1, 3, 2);
      #=> Replicate_Do_Domain_Ids = '
      

      This warns "less than 1 millisecond, reset to 0, meaning disabled", despite ending up with 60.

      CHANGE MASTER TO master_heartbeat_period=0.00001, master_heartbeat_period=60
      

      This (and only master_use_gtid) aborts with an ER_DUP_ARGUMENT error.

      CHANGE MASTER TO master_use_gtid= NO, master_use_gtid= SLAVE_POS;
      

      For consistency's sake, if not UX's (reduce confusions and mistakes), all CHANGE MASTER options should err (or at least warn) ER_DUP_ARGUMENT.

      Attachments

        Issue Links

          Activity

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.