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

Clone: Support Remote Clone

    XMLWordPrintable

Details

    Description

      Specification:
      1. Install Clone Plugin in both Donor and Recipient Server.

      INSTALL PLUGIN clone SONAME 'mariadb_clone';
      

      2. Create clone user in Donor and grant BACKUP_ADMIN privilege.

      CREATE USER clone IDENTIFIED by 'clone_pass';
      GRANT BACKUP_ADMIN ON *.* to clone;
      

      3. Create clone user in Recipient and grant CLONE_ADMIN privilege.

      CREATE USER clone IDENTIFIED by 'clone_pass';
      GRANT CLONE_ADMIN ON *.* to clone;
      

      4. Support cloning Donor data to a data directory in recipient server.

      CLONE INSTANCE FROM clone@<Donor IP>:<Donor PORT> 
      IDENTIFIED BY 'clone_pass' 
      DATA DIRECTORY = '<absolute path to target directory';
      

      5. Support clone connection from Donor to Recipient with and without SSL.

       CLONE INSTANCE FROM clone@<Donor IP>:<Donor PORT> 
      IDENTIFIED BY 'clone_pass' 
      DATA DIRECTORY = '<absolute path to target directory>'
      [REQUIRE [NO] SSL];
      

      6. Support Connection and SSL related configurations

      | clone_ssl_ca|
      | clone_ssl_cert|
      | clone_ssl_key|
      | clone_valid_donor_list |
      

      Limitations:
      All Limitations of MDEV-36733 apply.

      Development Note:
      1. Prototype code from main-MDEV-35248 is to be used.
      2. All related mtr tests must be ported from MySQL. Must work on all platforms(CI).

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              debarun Debarun Banerjee (Inactive)
              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.