1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

This patch disables FairThreadPool to double check if this feature contributes to multiple strange side-effects and ocassional failed MTR tests

This commit is contained in:
Roman Nozdrin
2022-07-20 11:17:19 +00:00
parent 01f8f7066a
commit b78cbffa93
12 changed files with 76 additions and 252 deletions

View File

@ -24,13 +24,12 @@
#pragma once
#include "fair_threadpool.h"
#include "umsocketselector.h"
#include <queue>
#include <set>
#include <condition_variable>
#include "threadnaming.h"
#include "fair_threadpool.h"
#include "prioritythreadpool.h"
namespace primitiveprocessor
{
@ -85,7 +84,7 @@ class BPPSendThread
{
return die;
}
void setProcessorPool(boost::shared_ptr<threadpool::FairThreadPool> processorPool)
void setProcessorPool(boost::shared_ptr<threadpool::PriorityThreadPool> processorPool)
{
fProcessorPool = processorPool;
}
@ -149,7 +148,7 @@ class BPPSendThread
uint64_t maxByteSize;
// Used to tell the ThreadPool It should consider additional threads because a
// queue full event has happened and a thread has been blocked.
boost::shared_ptr<threadpool::FairThreadPool> fProcessorPool;
boost::shared_ptr<threadpool::PriorityThreadPool> fProcessorPool;
};
} // namespace primitiveprocessor