Development Phase 2 of Bin Log Server (MXS-130)

[MXS-131] Provide support for STOP SLAVE, CHANGE MASTER, START SLAVE in binlog server Created: 2015-05-11  Updated: 2015-12-22  Resolved: 2015-12-22

Status: Closed
Project: MariaDB MaxScale
Component/s: binlogrouter
Affects Version/s: None
Fix Version/s: 1.3.0

Type: Sub-Task Priority: Major
Reporter: Dipti Joshi (Inactive) Assignee: Massimiliano Pinto (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-152 support to promote a slave to new mas... Closed

 Description   

Implement these commands in MaxScale Bin Log Server as per requirements described in this document

  • STOP SLAVE
  • START SLAVE
  • CHANGE MASTER TO


 Comments   
Comment by Massimiliano Pinto (Inactive) [ 2015-05-25 ]

Added hooks for STOP/START SLAVE and action is logged

2015-05-25 09:13:55 Binlog_Service: STOP SLAVE received by massi@127.0.0.1. Disconnecting from master 127.0.0.1:3306
2015-05-25 09:14:00 Binlog_Service: START SLAVE received by massi@127.0.0.1. Trying connection to master 127.0.0.1:3306

Comment by Massimiliano Pinto (Inactive) [ 2015-05-25 ]

Added BLRM_SLAVE_STOPPED state and blr_start_slave / blr_stop_slave

Code in in 1.1.1-binlog_router branch

Comment by Massimiliano Pinto (Inactive) [ 2015-05-28 ]

Added CHANGE MASTER hook.

Command executes only if router has SLAVE_STOPPED

Tested a new master connection to a new server in port 3307 when command is received

Generated at Thu Feb 08 03:57:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.