[MDEV-9974] STOP SLAVE behavior with no connection_name doesn't match documentation Created: 2016-04-22 Updated: 2016-04-28 Resolved: 2016-04-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | replication | ||
| Description |
|
The documentation about STOP SLAVE says the following:
https://mariadb.com/kb/en/mariadb/stop-slave/ Let's say that I have the following slave configured:
According to the documentation, I should be able to stop this slave by simply executing STOP SLAVE with no connection_name since there is only one master configured. However, this does not work:
Is the documentation incorrect, or is there a problem with the implementation? |
| Comments |
| Comment by Elena Stepanova [ 2016-04-22 ] |
|
The documentation is inaccurate. It apparently assumes that if there is only one master, it will always be the old-fashioned nameless master, which of course is not necessarily the case. |
| Comment by Ian Gilfillan [ 2016-04-28 ] |
|
I clarified by specifying that it only works if there's one NAMELESS master, and added this to START SLAVE, STOP SLAVE, RESET SLAVE, CHANGE MASTER TO and SHOW RELAYLOG. I tested quite a few combinations, but not everything, but I think it should be correct as it stands. Let me know if I've missed anything. |