Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
MXS-SPRINT-144, MXS-SPRINT-157, MXS-SPRINT-158, MXS-SPRINT-159, MXS-SPRINT-160, MXS-SPRINT-162
Description
It would be nice to add a feature to MaxScale that could rebuild a corrupted machine or automatically build a new replica. That replica should then automatically join an existing cluster. This could be accomplished in a similar method that is used with Galera SST.
On the current master:
1. Launch MariaBackup
2. Create a streaming snapshot of the datadir using xbstream/mbstream
3. Compress with a utility like pigz for minimal transfer time
4. Stream to the joiner/replica server with socat.
On the joining node:
1. Receive the socat stream
2. Decompress
3. Prepare MariaBackup
4. Find the GTID position
5. Register with the existing master / MaxScale
6. Start slave replication
Attachments
Issue Links
- relates to
-
MDEV-15610 Add SST for asynchronous slaves
- Closed
-
MDEV-21106 Port clone plugin from MySQL
- Open
-
MDEV-7502 Automatic provisioning of slave
- Open
-
MDEV-20996 Maxscale auto-failover with semi-sync replication is not providing a true HA solution
- Closed