Bug #64390 mysqldump should not restart slave automatically
Submitted: 21 Feb 2012 7:01 Modified: 28 Feb 2012 19:32
Reporter: Hailin Hu Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S3 (Non-critical)
Version:5.5.21 OS:Linux
Assigned to: CPU Architecture:Any
Tags: mysqldump

[21 Feb 2012 7:01] Hailin Hu
Description:
mysqldump with --dump-slave option will issue a 'START SLAVE' statement at the end.
I think the behaviour should be KEEP WHAT IT WAS. If the slave is stopped manually, mysqldump should not restart it automatically. At least such a  behaviour should be documented.

How to repeat:
@mysql server as a slave
issue statement: STOP SLAVE
@bash
mysqldump --dump-slave ...

after it finished, you can see the replication is restarted.
[28 Feb 2012 19:32] Sveta Smirnova
Thank you for the report.

Verified as described.