liaoxin01 commented on code in PR #29957:
URL: https://github.com/apache/doris/pull/29957#discussion_r1453089406


##########
be/src/io/fs/multi_table_pipe.h:
##########
@@ -46,7 +46,13 @@ class MultiTablePipe : public KafkaConsumerPipe {
     // request and execute plans for unplanned pipes
     Status request_and_exec_plans();
 
-    void set_consume_finished() { _consume_finished.store(true, 
std::memory_order_release); }
+    void set_consume_finished() {
+        --_inflight_cnt;

Review Comment:
   why need do `--_inflight_cnt` here?



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to