Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2542

Automated State Transfer

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7
    • Component/s: None
    • Labels:

      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

            Activity

              People

              Assignee:
              toddstoffel Todd Stoffel
              Reporter:
              toddstoffel Todd Stoffel
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration