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

Revert "This reverts MCOL-5044 AKA FairThreadPool that breaks regr test002"

This reverts commit 61359119ad.
This commit is contained in:
Roman Nozdrin
2022-06-21 17:37:27 +00:00
committed by Roman Nozdrin
parent 658bacf01d
commit 6cff14997d
14 changed files with 781 additions and 195 deletions

View File

@ -142,6 +142,7 @@ BatchPrimitiveProcessor::BatchPrimitiveProcessor()
, firstInstance(false)
, valuesLBID(0)
, initiatedByEM_(false)
, weight_(0)
{
pp.setLogicalBlockMode(true);
pp.setBlockPtr((int*)blockData);
@ -196,6 +197,7 @@ BatchPrimitiveProcessor::BatchPrimitiveProcessor(ByteStream& b, double prefetch,
, firstInstance(true)
, valuesLBID(0)
, initiatedByEM_(false)
, weight_(0)
{
// promote processorThreads to next power of 2. also need to change the name to bucketCount or similar
processorThreads = nextPowOf2(processorThreads);
@ -545,6 +547,7 @@ void BatchPrimitiveProcessor::resetBPP(ByteStream& bs, const SP_UM_MUTEX& w, con
// skip the header, sessionID, stepID, uniqueID, and priority
bs.advance(sizeof(ISMPacketHeader) + 16);
bs >> weight_;
bs >> dbRoot;
bs >> count;
uint8_t u8 = 0;