You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
A little modding to get oam to play nice with storagemanager wrt
BRM files.
This commit is contained in:
@ -2567,7 +2567,7 @@ pid_t ProcessMonitor::startProcess(string processModuleType, string processName,
|
||||
system(cmd.c_str());
|
||||
|
||||
// if Non Parent OAM Module, get the dbmr data from Parent OAM Module
|
||||
if ( !gOAMParentModuleFlag && !HDFS )
|
||||
if ( !gOAMParentModuleFlag && !HDFS && DBRootStorageType != "storagemanager")
|
||||
{
|
||||
|
||||
//create temp dbrm directory
|
||||
@ -2673,7 +2673,7 @@ pid_t ProcessMonitor::startProcess(string processModuleType, string processName,
|
||||
}
|
||||
|
||||
// now delete the dbrm data from local disk
|
||||
if ( !gOAMParentModuleFlag && !HDFS && DataRedundancyConfig == "n")
|
||||
if ( !gOAMParentModuleFlag && !HDFS && DBRootStorageType != "storagemanager" && DataRedundancyConfig == "n")
|
||||
{
|
||||
string cmd = "rm -f " + DBRMDir + "/*";
|
||||
system(cmd.c_str());
|
||||
|
Reference in New Issue
Block a user