rdbms: avoid "SHOW MASTER/SLAVE STATUS" queries in the GTID case
Concern Raiseda114bd9f4d9d

Authored by aaron on Feb 7 2018, 9:39 AM.

Description

rdbms: avoid "SHOW MASTER/SLAVE STATUS" queries in the GTID case

The binlog file/pos where only being used in __toString() for the GTID
case. Make that method use the GTID set instead and avoid querying the
old-fashioned binlog fields all together in that case. The STATUS
queries involve some global lock contention.

Bug: T180918
Change-Id: I18123a702e4f554b87bf5f90017b248062e73049