[MCOL-942] Setting up of the Master/Slave Replication should not be done on start system Created: 2017-09-27 Updated: 2017-12-05 Resolved: 2017-12-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ProcMgr |
| Affects Version/s: | 1.0.11, 1.1.0 |
| Fix Version/s: | 1.0.12 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
aws 2um / 2pm test system |
||
| Sprint: | 2017-24 |
| Description |
|
Currently in 1.0, the master/slave is setup at the end of postConfigure AND will also be resetup when a restartsystem or system servers are rebooted. It is recommended that this not be setup everything the system is restarted. I did a reboot test and the master/slave setup remain when I took out the step in ProcMgr to set it up on startsystem. So for 1.0 and 1.1, it should only be initially setup in postConfigure. and removed from the startsystem in ProcMgr. It will still be called by procmgr when the master node needs to be changed. |
| Comments |
| Comment by David Hill (Inactive) [ 2017-09-27 ] | ||||||||
|
might have jumped the gun on master/slave is setup after reboot. I get the following error CREATE TABLE `brptab1` ( `id` int(11) NOT NULL, `name` varchar(100) NOT NULL ) ENGINE=InfiniDB DEFAULT CHARSET=utf8;
-----------------
----------------- MariaDB [david]> | ||||||||
| Comment by David Hill (Inactive) [ 2017-11-28 ] | ||||||||
|
testing - should see the distribute to pm only on local-query and combo um/pm installs. you should see this on separate install when local-query is disabled Nov 28 17:25:10 ip-172-30-0-59 ProcessMonitor[13973]: 10.283781 |0|0|0| D 18 CAL0000: runMasterDist function called and verified the server-id in the different my.cnf files are setup with um1 or active um being '1'. | ||||||||
| Comment by David Hill (Inactive) [ 2017-11-28 ] | ||||||||
|
https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/331 | ||||||||
| Comment by Ben Thompson (Inactive) [ 2017-11-28 ] | ||||||||
|
Reviewed / Merged | ||||||||
| Comment by Daniel Lee (Inactive) [ 2017-12-05 ] | ||||||||
|
Build verified: GitHub source 1.0.12-1 [root@localhost ~]# cat mariadb-columnstore-1.0.12-1-centos7.x86_64.bin.tar.txt Merge pull request #79 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #338 from mariadb-corporation/ Verified both 1um2pm localquery and 2pm combo systems. Initial installation and restart system. |