Why option --lock-all-tables should not be used to backup instance in Group Replication
(Doc ID 2382716.1)
Last updated on FEBRUARY 20, 2019
Applies to:MySQL Server - Version 5.7 and later
Information in this document applies to any platform.
How to make sure that a backup to an instance in Group Replication does not prevent it from rejoining the group after taking backup.
There are several method to take backup of an instance that is setup for Group Replication.
If you are planning to use mysqldump, please note that using --lock-all-tables options will execute FLUSH TABLES statement.
As per the FLUSH statement manual, the server writes FLUSH statements to the binary log and will generate a new GTID.
The binary log entry below is the result of backup using --lock-all-tables option.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document