Bug #89142 Make FLUSH RELAY LOGS work for Group Replication.
Submitted: 8 Jan 22:09 Modified: 10 Jan 12:57
Reporter: Jean-François Gagné Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Group Replication Severity:S4 (Feature request)
Version:5.7.20, 8.0.3 OS:Any
Assigned to: CPU Architecture:Any
Triage: Needs Triage: D5 (Feature request)

[8 Jan 22:09] Jean-François Gagné
Description:
Hi,

In Bug#89141, I use the sequence of commands “STOP GROUP_REPLICATION; START GROUP_REPLICATION;” to rotate the relay logs.  This is a devious usage of those commands and it takes a lot of time to execute, but I needed to do that as FLUSH RELAY LOGS does not work for Group Replication (I get below when I try).

> FLUSH RELAY LOGS for channel 'group_replication_applier';
ERROR 3139 (HY000): FLUSH RELAY LOGS cannot be performed on channel 'group_replication_applier'.

Please consider implementing "FLUSH RELAY LOGS" for Group Replication.

Many thanks,

JFG

How to repeat:
Not a bug but a feature request.
[10 Jan 12:57] Umesh Shastry
Hello Jean,

Thank you for the report and feature request!

Thanks,
Umesh
[10 Jan 12:58] Umesh Shastry
Taken from Bug#89141

Attachment: 89141_5.7.20.results (application/octet-stream, text), 46.86 KiB.