Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian committed Nov 20, 2024
1 parent 624dd80 commit 377adbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cloud/src/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ CONF_Int32(max_tablet_index_num_per_batch, "1000");
CONF_mInt64(max_num_aborted_txn, "100");

CONF_Bool(enable_check_instance_id, "true");
CONF_Bool(enable_concurrency_get_tablet_stats, "false");
CONF_Bool(enable_concurrency_get_tablet_stats, "true");
} // namespace doris::cloud::config
1 change: 0 additions & 1 deletion cloud/src/meta-service/meta_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,6 @@ void MetaServiceImpl::get_tablet_stats(::google::protobuf::RpcController* contro
std::unique_ptr<Transaction> txn;
for (auto& i : request->tablet_idx()) {
TabletIndexPB idx(i);
// FIXME(plat1ko): Get all tablet stats in one txn
TxnErrorCode err = txn_kv_->create_txn(&txn);
if (err != TxnErrorCode::TXN_OK) {
code = cast_as<ErrCategory::CREATE>(err);
Expand Down

0 comments on commit 377adbd

Please sign in to comment.