1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-12 11:01:17 +03:00

Got postConfigure to set up storagemanager correctly and disabled

the disk-check stuff for SM clusters.
This commit is contained in:
Patrick LeBlanc
2019-06-12 09:37:45 -05:00
parent 0ae0761e1a
commit 4ae09352d2
3 changed files with 110 additions and 9 deletions

View File

@@ -314,8 +314,13 @@ int main (int argc, char** argv)
pthread_create (&cpuMonitorThread, NULL, (void* (*)(void*)) &cpuMonitor, NULL);
//Launch Disk Monitor Thread
pthread_t diskMonitorThread;
pthread_create (&diskMonitorThread, NULL, (void* (*)(void*)) &diskMonitor, NULL);
config::Config *_config = config::Config::makeConfig();
string storageType = _config->getConfig("Installation", "DBRootStorageType");
if (storageType != "storagemanager")
{
pthread_t diskMonitorThread;
pthread_create (&diskMonitorThread, NULL, (void* (*)(void*)) &diskMonitor, NULL);
}
//Launch DB Health Check Thread
// pthread_t dbhealthMonitorThread;