Bug #81694 CHANNEL SERVICE INTERFACE HAS NO FUNCTION TO GET RETRIEVED GTID SET
Submitted: 2 Jun 2016 16:42 Modified: 8 Aug 2016 16:17
Reporter: João Gramacho Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Replication Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[2 Jun 2016 16:42] João Gramacho
Description:
Some plug-ins (like Group Replication) need to get information about the retrieved GTID set for a given replication channel.

The server already has a channel service interface, bug it does not have a function to get the retrieved GTID set.

Without such function, the only way of getting this information is querying the replication performance schema table about the connection status, but this table might be unavailable if the server be compiled without performance schema (and also if the server starts with performance schema disabled).

How to repeat:
Check the source code at sql/rpl_channel_service_interface.cc and sql/rpl_channel_service_interface.h.

Suggested fix:
Create a new function in the channel service interface to get a channel retrieved_gtid_set.
[8 Aug 2016 16:17] David Moss
Posted by developer:
 
Thank you for your feedback, this has been fixed in upcoming versions and the following was added to the 5.7.14 changelog:
A new function has been added to the channel service interface to get a channel's retrieved_gtid_set.
[2 Nov 2016 13:31] David Moss
Added to public changelog.