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

Emit a warning when using `mariadb-dump --gtid` on versions without GTIDs

    XMLWordPrintable

Details

    Description

      如题。
      GTID is no such thing to dump on servers that don't support GTID.

      Perhaps even abort the program early in error unless --force is given.
      It appears that the current behaviour (regardless of --dump-slave) on dumping GTID-less servers already skips generating SQL statements for GTIDs, albeit still outputting those statements' description comments.
      (An aside: This should probably be improved.)

      "versions without GTIDs" are

      • MariaDB before 10.0 (long EOL - not supported by 13.0.1's mariadb-dump)
      • MySQL, which has a different and incompatible implementation of "GTIDs".

      Attachments

        Issue Links

          Activity

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 35m
                  35m

                  Git Integration

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