Bug #92526 | MAKE GR REPLICATION CHANNELS ROTATE RELAY LOG ON FLUSH LOGS | ||
---|---|---|---|
Submitted: | 21 Sep 2018 10:29 | Modified: | 26 Mar 2019 11:38 |
Reporter: | João Gramacho | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 8.0.14 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 Sep 2018 10:29]
João Gramacho
[26 Mar 2019 9:15]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 8.0.16: Previously, relay logs could not be rotated manually for the Group Replication group_replication_applier channel using the FLUSH RELAY LOGS statement. Due to this restriction, when encryption was enabled for binary log files and relay log files (binlog_encryption=ON), as available from MySQL 8.0.14, the relay log file in use on that channel could not be rotated immediately if encryption was disabled again. The restriction had a similar impact on binary log master key rotation, as available from MySQL 8.0.16. The restriction has now been removed, and the FLUSH RELAY LOGS statement and corresponding internal requests now operate on the group_replication_applier channel as for any other channel, with the exception that if the request is received while a transaction is being applied, the request is performed after the transaction ends. The requester must wait while the transaction is completed and the rotation takes place. This behavior prevents transactions from being split, which is not permitted for Group Replication.
[26 Mar 2019 11:38]
Margaret Fisher
Posted by developer: Restrictions removed in: https://dev.mysql.com/doc/refman/8.0/en/replication-binlog-encryption.html https://dev.mysql.com/doc/refman/8.0/en/channels-commands-single-channel.html (noted new behavior) https://dev.mysql.com/doc/refman/8.0/en/channels-with-prev-replication.html https://dev.mysql.com/doc/refman/8.0/en/flush.html
[30 Apr 2019 16:29]
Jean-François Gagné
Related: Bug#89142.