Skip to content

Incremental backup: support native MySQL GTID values as valid positions. #13415

@shlomi-noach

Description

@shlomi-noach

The flag --incremental_from_pos supports the following types of entries:

  • A MySQL56 GTID position format
  • the magic hint auto

Examples:

$ vtctlclient -- Backup --incremental_from_pos "MySQL56/16b1039f-22b6-11ed-b765-0a43f95f28a3:1-615" zone1-0000000102
$ vtctlclient -- Backup --incremental_from_pos "auto" zone1-0000000102

Since incremental backup & restore are designed to only work with MySQL GTIDs, it would be nice, as convenience, to allow a native MySQL GTID set, without the MySQL56/ prefix, as follows:

$ vtctlclient -- Backup --incremental_from_pos "16b1039f-22b6-11ed-b765-0a43f95f28a3:1-615" zone1-0000000102

RFC: #11227

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions