Bug #115051 | Improve behaviour of GR primary promotion selection between members | ||
---|---|---|---|
Submitted: | 17 May 2024 15:22 | Modified: | 18 May 2024 10:26 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S4 (Feature request) |
Version: | 8.0, 8.4 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[17 May 2024 15:22]
Simon Mudd
[17 May 2024 17:53]
Simon Mudd
Note: if the primary is not explicitly chosen the existing rules should be applied for hosts of the same version which I believe is based on priority and then the performance_schema.replication_group_members.member_id or equivalent.
[18 May 2024 10:26]
MySQL Verification Team
Hello Simon, Thank you for the feature request! regards, Umesh
[24 Jan 11:43]
MySQL Verification Team
Posted internally by developer: IN-PLACE SECONDARY UPGRADES AND DOWNGRADES In Group Replication, when a group is running an LTS (Long Term Support) version, in-place upgrades and downgrades are possible within the LTS series. This means that if a member with a different patch version joins the group, it can join as a secondary member regardless of its patch version number. If the joining member has a higher version number, it will not be promoted to primary on a failover/switchover. PRIMARY PROMOTION DOWNGRADE The promotion rules allow a primary to be downgraded, i.e. a secondary with a lower version can become the new primary. In fact, after the promotion, it is guaranteed that the primary has the lowest version of the group. The promotion rules do not allow a primary to be upgraded to a version higher than any secondary of the group. LTS versions are supported for an extended period and they are replication safe, even from a higher version to a lower version within the same LTS series. However, if there is a bug or an exception to this rule it may cause problems. To ensure that the effects of any such bug or exception are limited to the joining member and not effect the whole group, primary election does not allow higher version number members to become the primary.