Bug #101533 | Purge binlog in instance startup cause Previous_gtids wrong in new binlog file | ||
---|---|---|---|
Submitted: | 10 Nov 2020 6:31 | Modified: | 9 Mar 2021 12:42 |
Reporter: | ggwdwsbs W | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 8.0, 8.0.22 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[10 Nov 2020 6:31]
ggwdwsbs W
[10 Nov 2020 7:11]
MySQL Verification Team
Hello! Thank you for the report and feedback. regards, Umesh
[9 Mar 2021 12:42]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 8.0.24: If all previous binary log files were purged at startup because their retention period had expired, the new binary log file contained an empty Previous_gtids event, which could cause errors in replication. The order of initialization has now been changed so that previous binary log files are only purged after the previous GTID set has been written to the new binary log file that is created at startup.