lingbin commented on a change in pull request #2328: Need to check the return 
status of push_memtable
URL: https://github.com/apache/incubator-doris/pull/2328#discussion_r351811426
 
 

 ##########
 File path: be/src/olap/memtable_flush_executor.cpp
 ##########
 @@ -95,17 +95,14 @@ MemTableFlushExecutor::~MemTableFlushExecutor() {
         queue->shutdown();
     }
 
-    // shutdown thread pool
-    _flush_pool->shutdown();
-    _flush_pool->join();
+    // The threadpool will be shutdown and joined in dtor
+    delete _flush_pool;
 
 Review comment:
   Done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to