0AyanamiRei commented on code in PR #64614:
URL: https://github.com/apache/doris/pull/64614#discussion_r3459170104


##########
be/src/exec/sink/writer/vtablet_writer_v2.cpp:
##########
@@ -806,6 +807,15 @@ Status VTabletWriterV2::_close_wait(
     SCOPED_TIMER(_close_load_timer);
     Status status;
     auto streams_for_node = _load_stream_map->get_streams_for_node();
+    auto streams_to_collect_profile = unfinished_streams;
+    Defer collect_load_stream_profiles {[&]() {
+        for (const auto& stream : streams_to_collect_profile) {
+            auto load_stream_profile = 
stream->collect_load_stream_profile(_state->profile_level());
+            if (load_stream_profile != nullptr) {

Review Comment:
   This problem is not solved here. It is determined by the current profile 
design.



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

Reply via email to