platoneko commented on code in PR #28023:
URL: https://github.com/apache/doris/pull/28023#discussion_r1418421934
##########
be/src/olap/tablet_manager.cpp:
##########
@@ -959,10 +959,15 @@ Status TabletManager::load_tablet_from_dir(DataDir*
store, TTabletId tablet_id,
tablet_meta->set_tablet_uid(std::move(tablet_uid));
std::string meta_binary;
RETURN_IF_ERROR(tablet_meta->serialize(&meta_binary));
- RETURN_NOT_OK_STATUS_WITH_WARN(
- load_tablet_from_meta(store, tablet_id, schema_hash, meta_binary,
true, force, restore,
- true),
- strings::Substitute("fail to load tablet. header_path=$0",
header_path));
+ Status load_tablet_from_meta_status = load_tablet_from_meta(
+ store, tablet_id, schema_hash, meta_binary, true, force, restore,
true);
+ if (load_tablet_from_meta_status.is<TABLE_ALREADY_DELETED_ERROR>()) {
+ VLOG_NOTICE << load_tablet_from_meta_status;
+ } else {
+ LOG(WARNING) << fmt::format("fail to load tablet. header_path=$0",
header_path)
Review Comment:
```suggestion
LOG(WARNING) << "fail to load tablet. header_path=" << header_path
```
--
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]