From 377adbdc41d5c090b0af14bceb06937c95d609ae Mon Sep 17 00:00:00 2001 From: Yukang-Lian Date: Thu, 21 Nov 2024 00:46:46 +0800 Subject: [PATCH] 4 --- cloud/src/common/config.h | 2 +- cloud/src/meta-service/meta_service.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cloud/src/common/config.h b/cloud/src/common/config.h index 155294ed05e0887..67dbeedea53a70c 100644 --- a/cloud/src/common/config.h +++ b/cloud/src/common/config.h @@ -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 diff --git a/cloud/src/meta-service/meta_service.cpp b/cloud/src/meta-service/meta_service.cpp index a8910b10e006cde..8eb1246a5c98c34 100644 --- a/cloud/src/meta-service/meta_service.cpp +++ b/cloud/src/meta-service/meta_service.cpp @@ -1623,7 +1623,6 @@ void MetaServiceImpl::get_tablet_stats(::google::protobuf::RpcController* contro std::unique_ptr 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(err);