WL#7083: GTIDS: set gtid_mode=ON online

Affects: Server-5.7   —   Status: Complete

EXECUTIVE SUMMARY
=================

This worklog provides a way to turn on GTIDs online, so that:
 1. Reads and writes are allowed always during the procedure; and
 2. servers do not need to synchronize.

Before this worklog, the user had to stop updates, then sychronize all servers, 
then restart all servers simultaneously. Thus, turning on GTIDs implied several 
minutes of planned downtime.

After this worklog, we still require the server to restart, but it is enough to 
restart one server at a time, so the replication cluster can still be online and 
accept updates. Thus, the mode of operation is similar to that of a rolling 
upgrade.


REFERENCES
==========
  - BUG#69059: GTIDS LACK A REASONABLE DEPLOYMENT STRATEGY
  - WL#6559  : Optimize GTIDs for passive slave - store GTIDs in table