You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-20 01:42:27 +03:00
Merge pull request #420 from mariadb-corporation/MCOL-1235-1
mcol-1235 - fix issue with too many files open
This commit is contained in:
@@ -553,7 +553,10 @@ static void alarmMessageThread(Configuration config)
|
||||
msg = fIos.read();
|
||||
|
||||
if (msg.length() <= 0)
|
||||
continue;
|
||||
{
|
||||
fIos.close();
|
||||
continue;
|
||||
}
|
||||
|
||||
//log.writeLog(__LINE__, "MSG RECEIVED: Process Alarm Message");
|
||||
|
||||
@@ -585,16 +588,20 @@ static void alarmMessageThread(Configuration config)
|
||||
|
||||
ALARMManager aManager;
|
||||
aManager.processAlarmReport(calAlarm);
|
||||
|
||||
fIos.close();
|
||||
}
|
||||
catch (exception& ex)
|
||||
{
|
||||
string error = ex.what();
|
||||
log.writeLog(__LINE__, "EXCEPTION ERROR on read for ProcMgr_Alarm:" + error, LOG_TYPE_ERROR);
|
||||
fIos.close();
|
||||
continue;
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
log.writeLog(__LINE__, "EXCEPTION ERROR on read for ProcMgr_Alarm: Caught unknown exception!", LOG_TYPE_ERROR);
|
||||
fIos.close();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user