zhiqiang-hhhh commented on code in PR #29605:
URL: https://github.com/apache/doris/pull/29605#discussion_r1442789733
##########
be/src/vec/sink/writer/vfile_result_writer.cpp:
##########
@@ -429,7 +475,15 @@ Status VFileResultWriter::close(Status) {
COUNTER_SET(_written_rows_counter, _written_rows);
SCOPED_TIMER(_writer_close_timer);
}
- return _close_file_writer(true);
+
+ auto close_status = _close_file_writer(true);
+
+ std::unique_lock<std::mutex> lock(_m);
Review Comment:
close 函数可能被 process_block 那个线程执行
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]