Bug #97540 | errors not showing on ps.replication_applier_status_by_worker on single applier | ||
---|---|---|---|
Submitted: | 7 Nov 2019 17:59 | Modified: | 12 Nov 2019 15:38 |
Reporter: | Nuno Carvalho | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[7 Nov 2019 17:59]
Nuno Carvalho
[12 Nov 2019 15:38]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 8.0.19 and 5.7.29: When a member is joining or rejoining a replication group, if Group Replication detects an error in the distributed recovery process (during which the joining member receives state transfer from an existing online member), it automatically switches over to a new donor, and retries the state transfer. The number of times the joining member retries before giving up is set by the group_replication_recovery_retry_count system variable. The Performance Schema table replication_applier_status_by_worker displays the error that caused the last retry. Previously, this error was only shown if the group member was configured with parallel replication applier threads (as set by the slave_parallel_workers system variable). If the group member was configured with a single applier thread, the error was cleared after each retry by an internal RESET SLAVE operation, so it could not be viewed. This was also the case for the output of the SHOW SLAVE STATUS statement whether there were single or multiple applier threads. The RESET SLAVE operation is now no longer carried out after retrying distributed recovery, so the error that caused the last retry can always be viewed.