[MDEV-21106] Port clone plugin from MySQL Created: 2019-11-20  Updated: 2023-10-12

Status: Open
Project: MariaDB Server
Component/s: Plugins
Fix Version/s: None

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 3
Labels: upstream

Issue Links:
Blocks
is blocked by MDEV-21105 Port clone plugin API (MYSQL_CLONE_PL... Open
Relates
relates to MDEV-7502 Automatic provisioning of slave Open
relates to MDEV-8925 Extending protocol to support binary ... Open
relates to MDEV-15610 Add SST for asynchronous slaves Closed
relates to MXS-2542 Add rebuild server to MariaDB Monitor Closed

 Description   

Once we have the new clone plugin API from MySQL 8.0 (see MDEV-21105), we may want to port MySQL's clone plugin as well:

https://github.com/mysql/mysql-server/tree/mysql-8.0.18/plugin/clone

Information about this plugin can be found here:

https://dev.mysql.com/doc/refman/8.0/en/clone-plugin.html

This can be especially useful with replication:

https://dev.mysql.com/doc/refman/8.0/en/clone-plugin-replication.html



 Comments   
Comment by Geoff Montee (Inactive) [ 2021-05-19 ]

As ralf.gebhardt@mariadb.com pointed out in MDEV-21105, the clone plugin from MySQL 8.0 only supports InnoDB:

  • The clone plugin only clones data stored in InnoDB. Other storage engine data is not cloned. MyISAM and CSV tables stored in any schema including the sys schema are cloned as empty tables.

https://dev.mysql.com/doc/refman/8.0/en/clone-plugin-limitations.html

I have no idea how dependent the clone plugin is on the InnoDB features in MySQL 8.0 that have not been ported to MariaDB. marko would probably have to comment on that.

Generated at Thu Feb 08 09:04:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.