mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Try to fix race in PipelineExecutor.
This commit is contained in:
parent
da798142a5
commit
423a5c35e8
@ -10,8 +10,6 @@
|
||||
|
||||
#include <boost/lockfree/stack.hpp>
|
||||
|
||||
#include <map>
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
@ -124,7 +122,7 @@ private:
|
||||
/// Queue with pointers to tasks. Each thread will concurrently read from it until finished flag is set.
|
||||
/// Stores processors need to be prepared. Preparing status is already set for them.
|
||||
TaskQueue task_queue;
|
||||
std::map<size_t> threads_queue;
|
||||
std::set<size_t> threads_queue;
|
||||
std::mutex task_queue_mutex;
|
||||
|
||||
std::atomic_bool cancelled;
|
||||
|
Loading…
Reference in New Issue
Block a user