From ad26051ebd09606b8278f1fe77f9884f2df4e858 Mon Sep 17 00:00:00 2001 From: zhiqiang-hhhh Date: Wed, 25 Dec 2024 14:44:25 +0800 Subject: [PATCH] COM --- be/src/vec/exec/scan/scanner_scheduler.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/be/src/vec/exec/scan/scanner_scheduler.cpp b/be/src/vec/exec/scan/scanner_scheduler.cpp index 381164a3eedd414..1b14d1727906713 100644 --- a/be/src/vec/exec/scan/scanner_scheduler.cpp +++ b/be/src/vec/exec/scan/scanner_scheduler.cpp @@ -58,13 +58,7 @@ namespace doris::vectorized { ScannerScheduler::ScannerScheduler() = default; -ScannerScheduler::~ScannerScheduler() { - if (!_is_init) { - return; - } - - _deregister_metrics(); -} +ScannerScheduler::~ScannerScheduler() = default; void ScannerScheduler::stop() { if (!_is_init) { @@ -107,7 +101,6 @@ Status ScannerScheduler::init(ExecEnv* env) { .set_max_threads(config::doris_scanner_thread_pool_thread_num) .set_max_queue_size(config::doris_scanner_thread_pool_queue_size) .build(&_limited_scan_thread_pool)); - _register_metrics(); _is_init = true; return Status::OK(); }