From 129494e525a4dbbaa919318ee0933135039c5ed5 Mon Sep 17 00:00:00 2001 From: Huang Wei Date: Fri, 10 Nov 2023 15:13:52 +0800 Subject: [PATCH] rm db path check when load --- src/tablet/tablet_impl.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tablet/tablet_impl.cc b/src/tablet/tablet_impl.cc index f30f1f8b74b..22d48c12170 100644 --- a/src/tablet/tablet_impl.cc +++ b/src/tablet/tablet_impl.cc @@ -3033,10 +3033,7 @@ void TabletImpl::LoadTable(RpcController* controller, const ::openmldb::api::Loa std::string db_path = GetDBPath(root_path, tid, pid); if (!::openmldb::base::IsExists(db_path)) { - PDLOG(WARNING, "table db path does not exist. tid %u, pid %u, path %s", tid, pid, db_path.c_str()); - response->set_code(::openmldb::base::ReturnCode::kTableDbPathIsNotExist); - response->set_msg("table db path does not exist"); - break; + PDLOG(WARNING, "table db path does not exist, but still load. tid %u, pid %u, path %s", tid, pid, db_path.c_str()); } std::shared_ptr table = GetTable(tid, pid);