[MCOL-295] After Columnstore is stopped, "checkLogStatus failed" continuously being output to debug.log Created: 2016-09-13  Updated: 2023-10-26  Resolved: 2016-10-26

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.0.3
Fix Version/s: 1.0.4

Type: Bug Priority: Minor
Reporter: Daniel Lee (Inactive) Assignee: David Hill (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-280 Beta issues Closed
Sprint: 2016-19, 2016-20, 2016-21

 Description   

Build tested:

mscadmin> getsoft
getsoftwareinfo Tue Sep 13 10:02:34 2016

Name : mariadb-columnstore-platform
Version : 1.0.3
Release : 1
Architecture: x86_64
Install Date: Tue 13 Sep 2016 09:26:32 AM CDT

After I stopped the system, these msgs are being output to the debug.log continuously:

Sep 13 09:58:39 mcece7-2 oamcpp[5856]: 39.211031 |0|0|0| E 08 CAL0000: checkLogStatus failed /tmp/mysql.status expected "MySQL running" found ""
Sep 13 09:58:49 mcece7-2 oamcpp[5856]: 49.241920 |0|0|0| E 08 CAL0000: checkLogStatus failed /tmp/mysql.status expected "MySQL running" found ""
Sep 13 09:58:59 mcece7-2 oamcpp[5856]: 59.274002 |0|0|0| E 08 CAL0000: checkLogStatus failed /tmp/mysql.status expected "MySQL running" found ""
Sep 13 09:59:09 mcece7-2 oamcpp[5856]: 09.304913 |0|0|0| E 08 CAL0000: checkLogStatus failed /tmp/mysql.status expected "MySQL running" found ""
Sep 13 09:59:19 mcece7-2 oamcpp[5856]: 19.336856 |0|0|0| E 08 CAL0000: checkLogStatus failed /tmp/mysql.status expected "MySQL running" found ""
Sep 13 09:59:29 mcece7-2 oamcpp[5856]: 29.367132 |0|0|0| E 08 CAL0000: checkLogStatus failed /tmp/mysql.status expected "MySQL running" found ""

content of the /tmp/mysql.status file:

[root@mcece7-2 columnstore]# cat /tmp/mysql.status
ERROR! MySQL is not running



 Comments   
Comment by David Hill (Inactive) [ 2016-10-11 ]

fixed... source repo is mcol-295

1. Changed to not make call when system is offline, its not needed
2. Removed the Error log from checkLogStatus, it should be there. The calling process
to this function should be taking the action. No errors are action is needed in the API
if a match doesnt happen

[builder@centos7 mariadb-columnstore-engine]$ git checkout
M oam/oamcpp/liboamcpp.cpp
M procmon/main.cpp

Comment by David Hill (Inactive) [ 2016-10-11 ]

please review, check comments for details

Comment by Ben Thompson (Inactive) [ 2016-10-12 ]

Review done, looks good.

Comment by David Hill (Inactive) [ 2016-10-12 ]

do a stopsystem and make sure the error log isn't being reported

Comment by David Hill (Inactive) [ 2016-10-26 ]

Error log no longer reported, test passed

Generated at Thu Feb 08 02:19:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.