optimize the performance of reporting tablet stat

This commit is contained in:
obdev
2023-02-06 15:40:48 +08:00
committed by ob-robot
parent 2c298301af
commit 1c24d38f33
5 changed files with 42 additions and 27 deletions

View File

@ -113,6 +113,7 @@ void TestTenantTabletStatMgr::batch_report_stat(int64_t report_num)
curr_stat.ls_id_ = 1;
curr_stat.tablet_id_ = 10001 + i;
curr_stat.query_cnt_ = 100 * (i + 1);
curr_stat.scan_physical_row_cnt_ = 10000 + i;
std::thread sub_report_thread(report, stat_mgr_, curr_stat);
if (sub_report_thread.joinable()) {