Skip to content

Commit

Permalink
[enhancement](disk) log disk path when creating tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jan 3, 2024
1 parent e3c9f53 commit e00c032
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions be/src/olap/tablet_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit e00c032

Please sign in to comment.