Changes between Version 10 and Version 11 of GROUPReplicate3


Ignore:
Timestamp:
07/18/22 00:41:24 (2 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUPReplicate3

    v10 v11  
    3939       SELECT * FROM performance_schema.replication_group_members;
    4040}}}
     41On nodedb1, we need to set the group_replication_bootstrap_group variable tells a member that it shouldn’t expect to receive information from peers and should instead establish a new group and elect itself the primary member. You can turn this variable on with the following command:
     42{{{
     43    SET GLOBAL group_replication_bootstrap_group=ON;
     44}}}
     45Then you can start replication for the initial group member:
     46{{{
     47    START GROUP_REPLICATION;
     48}}}
     49Following that, you can set the group_replication_bootstrap_group variable back to OFF, since the only situation where this is appropriate is when there are no existing group members:
     50{{{
     51    SET GLOBAL group_replication_bootstrap_group=OFF;
     52}}}
     53The group will be started with this server as the only member. Verify this by checking the entries within the replication_group_members table in the performance_schema database:
     54{{{
     55    SELECT * FROM performance_schema.replication_group_members;
     56}}}
    4157
    4258