Bug #89692 --master-data needs an option for a channel name
Submitted: 16 Feb 2018 9:59
Reporter: Timo Maier Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S4 (Feature request)
Version:5.7. OS:Any
Assigned to: CPU Architecture:Any

[16 Feb 2018 9:59] Timo Maier
Description:
With multi master replication, one slave manages multiple masters. To start or to fix a broken replication, I use mysqldump with --master-data to include MASTER_LOG_FILE and MASTER_LOG_POS in the dump, so it can be easily applied to the slave.

Since I switch all mysql servers to 5.7, I also use multi master replication, but now I need to specifiy the channel name for the CHANGE MASTER TO statemant which is generated by mysqldump --master-data 

How to repeat:
mysqldump --routines --triggers --master-data --single-transaction --add-drop-database --databases mydb > mydb.dump

Suggested fix:
Add a parameter for the channel name