From e00c03211828edb14308b0cacbd68ec19e561f60 Mon Sep 17 00:00:00 2001 From: Yongqiang YANG Date: Wed, 3 Jan 2024 15:39:10 +0800 Subject: [PATCH] [enhancement](disk) log disk path when creating tablet --- be/src/olap/tablet_manager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/be/src/olap/tablet_manager.cpp b/be/src/olap/tablet_manager.cpp index 45c12ce582f7f9..ad08a644566642 100644 --- a/be/src/olap/tablet_manager.cpp +++ b/be/src/olap/tablet_manager.cpp @@ -268,7 +268,8 @@ Status TabletManager::create_tablet(const TCreateTabletReq& request, std::vector int64_t tablet_id = request.tablet_id; LOG(INFO) << "begin to create tablet. tablet_id=" << tablet_id << ", table_id=" << request.table_id << ", partition_id=" << request.partition_id - << ", replica_id=" << request.replica_id; + << ", replica_id=" << request.replica_id << ", stores.size=" << stores.size() + << ", first store=" << stores[0]->path(); // when we create rollup tablet A(assume on shard-1) from tablet B(assume on shard-2) // we need use write lock on shard-1 and then use read lock on shard-2 @@ -340,7 +341,8 @@ Status TabletManager::create_tablet(const TCreateTabletReq& request, std::vector request.tablet_id); } - LOG(INFO) << "success to create tablet. tablet_id=" << tablet_id; + LOG(INFO) << "success to create tablet. tablet_id=" << tablet_id << ", tablet_path=" + << tablet->tablet_path(); return Status::OK(); }