[MCOL-819] mysqld not shutdown by shutdownsystem commands, sometimes Created: 2017-07-19 Updated: 2023-10-26 Resolved: 2017-09-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.0.6, 1.0.7 |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
nightly regression test system |
||
| Sprint: | 2017-14, 2017-15, 2017-16, 2017-17, 2017-18 |
| Description |
|
This has happened on my nightly regression test system, I haven't seen it happen on a regular install mysql. As shown below, there is a script that gets run to shutdown and run postConfigure on the nightly build. Shutdown reports suggess, but postConfigure reports error that port 3306 is in use and that is because mysqld is still running.. Because its the build machine, its probably happening because: 1. it didnt get shutdown cleanly at the start of the build [root@ip-172-30-0-119 nightly]# ./localSystemRestart.sh This command stops the processing of applications on all Modules within the MariaDB Columnstore System Checking for active transactions Stopping System... Shutting Down System... Mariab Columnstore uninstall completed /usr/local/mariadb/columnstore/bin/postConfigure This is the MariaDB Columnstore System Configuration and Installation tool. IMPORTANT: This tool should only be run on the Parent OAM Module With the no-Prompting Option being specified, you will be required to have the following: 1. Root user ssh keys setup between all nodes in the system or The Calpont Configuration Data is taken from /usr/local/mariadb/columnstore/etc/Columnstore.xml.rpmsave Do you want to utilize the configuration data from the saved copy? [y,n] > ===== Setup System Server Type Configuration ===== There are 2 options when configuring the System Server Type: single and multi 'single' - Single-Server install is used when there will only be 1 server configured 'multi' - Multi-Server install is used when you want to configure multiple servers now or Select the type of System Server install [1=single, 2=multi] (1) > Performing the Single Server Install. ===== Storage Configuration = internal ===== Enter the list (Nx,Ny,Nz) or range (Nx-Nz) of DBRoot IDs assigned to module 'pm1' (1) > The MariaDB Columnstore port of '3306' is already in-use ps -ef | grep mysql |
| Comments |
| Comment by David Hill (Inactive) [ 2017-08-28 ] |
|
failure from QA Build tested: Github source 1.1.0 |
| Comment by David Hill (Inactive) [ 2017-08-31 ] |
|
didnt reproduce when I tired it... Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console [root@ip-172-30-0-192 bin]# cd ../mysql/db/ This command stops the processing of applications on all Modules within the MariaDB ColumnStore System Checking for active transactions Stopping System... Shutting Down System... [root@ip-172-30-0-192 db]# ps -ef | grep mysql |
| Comment by David Hill (Inactive) [ 2017-08-31 ] |
|
please retest on last 1.1.0 builds... |
| Comment by Daniel Lee (Inactive) [ 2017-09-05 ] |
|
Build verified: 1.1.0 Github source /root/columnstore/mariadb-columnstore-server /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Could no longer reproduce the issue, with shutdownsystem on both UM1 or PM1. |