Why option --lock-all-tables should not be used to backup instance in Group Replication
Last updated on JUNE 27, 2018
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms