Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
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
- blocks
-
MDEV-36743 Clone: Support Remote Clone Replacing Current Data Directory
-
- Open
-
-
MDEV-36744 Clone: Support Multi-threaded Clone
-
- Open
-
-
MDEV-36745 Clone: Support Innodb Encrypted Table and Encrypted Redo Log
-
- Open
-
-
MDEV-36746 Clone: Support Innodb Page Compressed Table
-
- Open
-
-
MDEV-36747 Clone: Support concurrent DDL
-
- Open
-
-
MDEV-36749 Clone: Have Performance Schema table for status and monitoring
-
- Open
-
-
MDEV-36751 Clone: Binary Log position and GTID
-
- Open
-
- is blocked by
-
MDEV-36733 Clone: Support Local Clone
-
- Open
-