[MCOL-1009] MCS Replication setup failure - mysqld failed to restart Created: 2017-11-03 Updated: 2017-11-09 Resolved: 2017-11-09 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | 1.1.1 |
| Fix Version/s: | 1.1.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Amazon EC2 AMI 1um / 2pm with replication enabled |
||
| Sprint: | 2017-22 |
| Description |
|
Testing latest build of 1.1.1. Doing a postConfigure Install of a 1um / 2pm system will Replication enabled. The postConfigure install failed with the Replication failure: MariaDB ColumnStore Database Platform Starting, please wait .......... DONE System Catalog Successfully Created Run MariaDB ColumnStore Replication Setup.. MariaDB ColumnStore Install Failed Checking UM module logs and /tmp script log files pointed to a problem where mysqld failed to restart this this process, which caused the Replication to fail. [mariadb-user@ip-172-30-0-135 columnstore]$ mcsmysql tmp]$ cat actionMysqlCalpont.log |
| Comments |
| Comment by David Hill (Inactive) [ 2017-11-03 ] |
|
(gdb) info threads
|
| Comment by David Hill (Inactive) [ 2017-11-03 ] |
|
Issue is a known issue where mysqld isn't cleanly shutting down if you try after a startup to quickly. The restart is being done around the Replication setup where it updates the my.cnf file. Look at other times when mysqld restart is done and see if needed.. |
| Comment by David Hill (Inactive) [ 2017-11-03 ] |
|
NOTE: When in this case, mysqld will continue to fail to stop. so stopsystem or tryint to stop it directory will fail. Work around will be the need to FORCE kill it
ps -ef | grep mysql |
| Comment by Ben Thompson (Inactive) [ 2017-11-07 ] |
|
Reviewed and Merged |
| Comment by David Hill (Inactive) [ 2017-11-07 ] |
|
To test: perform a multi-node install when it setup replication on mult ums or combo pm2 or local local pms. New code will set the server-id and local query setting via the mysql console line and update the my.cnf file. |
| Comment by Daniel Lee (Inactive) [ 2017-11-09 ] |
|
Build verified: 1.1.2 GitHub source |