weizuo93 commented on a change in pull request #5692:
URL: https://github.com/apache/incubator-doris/pull/5692#discussion_r618437405
##########
File path: be/src/olap/storage_engine.cpp
##########
@@ -227,15 +227,19 @@ Status StorageEngine::_init_store_map() {
_store_map.emplace(store->path(), store);
}
- RETURN_NOT_OK_STATUS_WITH_WARN(_init_stream_load_recorder(), "init
StreamLoadRecorder failed");
+ std::string stream_load_record_path = "";
+ if (!tmp_stores.empty()) {
+ stream_load_record_path = tmp_stores[0]->path();
+ }
+
+
RETURN_NOT_OK_STATUS_WITH_WARN(_init_stream_load_recorder(stream_load_record_path),
+ "init StreamLoadRecorder failed");
return Status::OK();
}
-Status StorageEngine::_init_stream_load_recorder() {
- std::string stream_load_record_path = config::stream_load_record_path;
+Status StorageEngine::_init_stream_load_recorder(std::string
stream_load_record_path) {
Review comment:
>
OK.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]