Skip to content

Commit 1d0aed0

Browse files
authored
Merge branch 'main' into toml-config#1157
2 parents b74a2b2 + 350ab9c commit 1d0aed0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/handlers/http/modal/query_server.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::sync::Arc;
2020
use std::thread;
2121

2222
use crate::handlers::airplane;
23-
use crate::handlers::http::cluster::{self, init_cluster_metrics_schedular};
23+
use crate::handlers::http::cluster;
2424
use crate::handlers::http::middleware::{DisAllowRootUser, RouteExt};
2525
use crate::handlers::http::modal::initialize_hot_tier_metadata_on_startup;
2626
use crate::handlers::http::{MAX_EVENT_PAYLOAD_SIZE, logstream};
@@ -37,7 +37,6 @@ use actix_web_prometheus::PrometheusMetrics;
3737
use async_trait::async_trait;
3838
use bytes::Bytes;
3939
use tokio::sync::{OnceCell, oneshot};
40-
use tracing::info;
4140

4241
use crate::Server;
4342
use crate::parseable::PARSEABLE;
@@ -130,18 +129,13 @@ impl ParseableServer for QueryServer {
130129
analytics::init_analytics_scheduler()?;
131130
}
132131

133-
if init_cluster_metrics_schedular().is_ok() {
134-
info!("Cluster metrics scheduler started successfully");
135-
}
136-
137132
// local sync on init
138133
let startup_sync_handle = tokio::spawn(async {
139134
if let Err(e) = sync_start().await {
140135
tracing::warn!("local sync on server start failed: {e}");
141136
}
142137
});
143138
if let Some(hot_tier_manager) = HotTierManager::global() {
144-
hot_tier_manager.put_internal_stream_hot_tier().await?;
145139
// Initialize hot tier metadata files for streams that have hot tier configuration
146140
// but don't have local hot tier metadata files yet
147141
if let Err(e) = initialize_hot_tier_metadata_on_startup(hot_tier_manager).await {

0 commit comments

Comments
 (0)