chaoyli commented on a change in pull request #872: Rename rowset id in restore
stage
URL: https://github.com/apache/incubator-doris/pull/872#discussion_r272041826
##########
File path: be/src/runtime/snapshot_loader.cpp
##########
@@ -518,6 +519,26 @@ Status SnapshotLoader::move(
return Status(ss.str());
}
+
+ DataDir* store = StorageEngine::instance()->get_store(store_path);
+ if (store == nullptr) {
+ std::stringstream ss;
Review comment:
These two dir paths checks should before be used.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]