1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00

MCOL-4193: Delete unused OAM and applications, ProcMon, ProcMgr, and no longer build all tools for packages

This commit is contained in:
benthompson15
2020-12-02 13:14:25 -06:00
parent d2cc656fdf
commit 846f7fb29b
138 changed files with 311 additions and 69494 deletions

View File

@ -49,21 +49,6 @@ SlaveComm* comm;
bool die= false;
boost::thread_group monitorThreads;
void fail()
{
try
{
oam::Oam oam;
oam.processInitFailure();
}
catch (exception&)
{
cerr << "failed to notify OAM of server failure" << endl;
}
}
class Opt
{
protected:
@ -92,7 +77,6 @@ public:
{
perror(m_progname);
log_errno(std::string(m_progname));
fail();
}
void ParentLogChildMessage(const std::string &str) override
{
@ -160,7 +144,6 @@ int ServiceWorkerNode::Child()
os << "An error occured: " << e.what();
cerr << os.str() << endl;
log(os.str());
fail();
NotifyServiceInitializationFailed();
return 1;
}
@ -175,21 +158,6 @@ int ServiceWorkerNode::Child()
monitorThreads.create_thread(RWLockMonitor
(&die, slave.getVSSLockStatus(), keys.KEYRANGE_VSS_BASE));
try
{
oam::Oam oam;
oam.processInitComplete("DBRMWorkerNode");
}
catch (exception& e)
{
ostringstream os;
os << "failed to notify OAM: " << e.what();
os << " continuing anyway";
cerr << os.str() << endl;
log(os.str(), logging::LOG_TYPE_WARNING);
}
try
{
comm->run();
@ -228,7 +196,6 @@ int main(int argc, char** argv)
os << "Usage: " << argv[0] << " DBRM_WorkerN";
cerr << os.str() << endl;
log(os.str());
fail();
exit(1);
}