Gabriel39 commented on code in PR #32933: URL: https://github.com/apache/doris/pull/32933#discussion_r1542403467
########## be/src/pipeline/pipeline_tracing.cpp: ########## @@ -95,10 +95,11 @@ void PipelineTracerContext::_dump(TUniqueId query_id) { return; } + std::filesystem::path log_dir = getenv("LOG_DIR"); //TODO: when dump, now could append records but can't add new query. try use better grained locks. std::unique_lock<std::mutex> l(_data_lock); // can't rehash if (_dump_type == RecordType::PerQuery) { - auto path = _dir / fmt::format("query{}", to_string(query_id)); + auto path = log_dir / fmt::format("query{}", to_string(query_id)); Review Comment: Lost `tracing` dir -- 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