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

MCOL-4841 Fix for MCOL-5009

respondWait could be set to false
while other threads were waiting. With respondWait false, okToRrespond
wouldn't ever get notify_one(). Get rid of respondWait and use
fProcessorPool->blockedThreadCount to determine if any threads may be
waiting.
This commit is contained in:
David Hall
2022-03-07 15:25:00 -06:00
parent 27dea733c5
commit a98834e31c
3 changed files with 6 additions and 7 deletions

View File

@ -118,7 +118,6 @@ class BPPSendThread
std::mutex ackLock;
std::condition_variable okToSend;
// Condition to prevent run away queue
bool respondWait;
std::mutex respondLock;
std::condition_variable okToRespond;