server
server copied to clipboard
`rpl_start`/`stop_server.inc` fixes
trafficstars
- ~~The Jira issue number for this PR is: MDEV-______~~
Description
rpl_stop_server.inc: re. “can’t usebegin/end_include_file”, (re)define$_include_file_depth= 0in case this is the first--sourcein arpl_init.inc-less setup (e.g.,multi_source.*)rpl_start_server.inc: move theend_include_file.inccall out ofif (!$rpl_server_error)to always close thebegin_include_file.incrpl_reconnect.inc(called by rpl_start_server.inc): skip reconnecting ‘master/slave’ aliases ofserver_*to lift its practical requirement ofmaster-slave.inc(It failed with “no connection named master/slave” for even arpl_init.incsetup, let alonerpl_init`-less.)
Release Notes
Do our users even use our include/*.incs?
How can this PR be tested?
- [ ] Do we need a test for a test?
PR quality check
- [ ] This is a new feature or a refactoring, and the PR is based against the
mainbranch. - [x] This is a bug fix, and the PR is based against the earliest maintained branch in which the bug can be reproduced.
- [x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
- [x] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.