<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="group-replication-offline-upgrade">
      </a>
      20.8.2 Group Replication Offline Upgrade
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045131618032">
  </a>
  <p>
   To perform an offline upgrade of a Group Replication group, you
      remove each member from the group, perform an upgrade of the
      member and then restart the group as usual. In a multi-primary
      group you can shutdown the members in any order. In a
      single-primary group, shutdown each secondary first and then
      finally the primary. See
   <a class="xref" href="group-replication-upgrading-member.html" title="20.8.3.2 Upgrading a Group Replication Member">
    Section 20.8.3.2, “Upgrading a Group Replication Member”
   </a>
   for how to
      remove members from a group and shutdown MySQL.
  </p>
  <p>
   Once the group is offline, upgrade all of the members. See
   <a class="xref" href="upgrading.html" title="Chapter 3 Upgrading MySQL">
    Chapter 3,
    <i>
     Upgrading MySQL
    </i>
   </a>
   for how to perform an upgrade. When
      all members have been upgraded, restart the members.
  </p>
  <p>
   If you upgrade all the members of a replication group when they
      are offline and then restart the group, the members join using the
      new release's Group Replication communication protocol version, so
      that becomes the group's communication protocol version. If you
      have a requirement to allow members at earlier releases to join,
      you can use the
   <a class="link" href="group-replication-functions-for-communication-protocol.html#function_group-replication-set-communication-protocol">
    <code class="literal">
     group_replication_set_communication_protocol()
    </code>
   </a>
   function to downgrade the communication protocol version,
      specifying the MySQL Server version of the prospective group
      member that has the oldest installed server version.
  </p>
 </div>
 <br/>
</div>
