1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-1762 - added joblist ThreadPoolSize

This commit is contained in:
David Hill
2018-10-09 15:34:35 -05:00
parent e183557b67
commit 3b026f44b4

View File

@ -1884,12 +1884,15 @@ int main(int argc, char *argv[])
string PrefetchThreshold;
string MaxOutstandingRequests;
string PmMaxMemorySmallSide;
string ThreadPoolSize;
try {
ColScanReadAheadBlocks = sysConfigOld->getConfig("PrimitiveServers", "ColScanReadAheadBlocks");
PrefetchThreshold = sysConfigOld->getConfig("PrimitiveServers", "PrefetchThreshold");
MaxOutstandingRequests = sysConfigOld->getConfig("JobList", "MaxOutstandingRequests");
PmMaxMemorySmallSide = sysConfigOld->getConfig("HashJoin", "PmMaxMemorySmallSide");
ThreadPoolSize = sysConfigOld->getConfig("JobList", "ThreadPoolSize");
}
catch(...)
{}
@ -1899,6 +1902,7 @@ int main(int argc, char *argv[])
sysConfigNew->setConfig("PrimitiveServers", "PrefetchThreshold", PrefetchThreshold);
sysConfigNew->setConfig("JobList", "MaxOutstandingRequests", MaxOutstandingRequests);
sysConfigNew->setConfig("HashJoin", "PmMaxMemorySmallSide", PmMaxMemorySmallSide);
sysConfigNew->setConfig("JobList", "ThreadPoolSize", ThreadPoolSize);
}
catch(...)
{}