From 885af921bd7bf03d90f09ba4ae9fedc38ec91701 Mon Sep 17 00:00:00 2001 From: tison Date: Tue, 5 Dec 2023 15:26:55 +0800 Subject: [PATCH] cargo fmt Signed-off-by: tison --- src/metric-engine/src/data_region.rs | 1 - src/mito2/src/compaction/twcs.rs | 1 - src/mito2/src/engine.rs | 1 - src/mito2/src/flush.rs | 1 - src/mito2/src/worker/handle_alter.rs | 1 - src/mito2/src/worker/handle_create.rs | 1 - src/mito2/src/worker/handle_drop.rs | 1 - src/mito2/src/worker/handle_truncate.rs | 1 - 8 files changed, 8 deletions(-) diff --git a/src/metric-engine/src/data_region.rs b/src/metric-engine/src/data_region.rs index 5d2e89dd60e1..1a5763bc312f 100644 --- a/src/metric-engine/src/data_region.rs +++ b/src/metric-engine/src/data_region.rs @@ -13,7 +13,6 @@ // limitations under the License. use api::v1::SemanticType; - use common_telemetry::tracing::warn; use mito2::engine::MitoEngine; use snafu::ResultExt; diff --git a/src/mito2/src/compaction/twcs.rs b/src/mito2/src/compaction/twcs.rs index 9c54740d4b38..95b1eee3f1f6 100644 --- a/src/mito2/src/compaction/twcs.rs +++ b/src/mito2/src/compaction/twcs.rs @@ -18,7 +18,6 @@ use std::sync::Arc; use std::time::{Duration, Instant}; use common_base::readable_size::ReadableSize; - use common_telemetry::{debug, error, info}; use common_time::timestamp::TimeUnit; use common_time::timestamp_millis::BucketAligned; diff --git a/src/mito2/src/engine.rs b/src/mito2/src/engine.rs index f8beb7eec50f..01f8ba471724 100644 --- a/src/mito2/src/engine.rs +++ b/src/mito2/src/engine.rs @@ -44,7 +44,6 @@ use std::sync::Arc; use async_trait::async_trait; use common_error::ext::BoxedError; - use common_recordbatch::SendableRecordBatchStream; use object_store::manager::ObjectStoreManagerRef; use snafu::{OptionExt, ResultExt}; diff --git a/src/mito2/src/flush.rs b/src/mito2/src/flush.rs index 812f59fcffb5..99b880de7cf2 100644 --- a/src/mito2/src/flush.rs +++ b/src/mito2/src/flush.rs @@ -18,7 +18,6 @@ use std::collections::HashMap; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::Arc; - use common_telemetry::{error, info}; use snafu::ResultExt; use store_api::storage::RegionId; diff --git a/src/mito2/src/worker/handle_alter.rs b/src/mito2/src/worker/handle_alter.rs index 2f3b7ff82e34..8e6f474a1aeb 100644 --- a/src/mito2/src/worker/handle_alter.rs +++ b/src/mito2/src/worker/handle_alter.rs @@ -16,7 +16,6 @@ use std::sync::Arc; - use common_telemetry::{debug, error, info, warn}; use snafu::ResultExt; use store_api::metadata::{RegionMetadata, RegionMetadataBuilder, RegionMetadataRef}; diff --git a/src/mito2/src/worker/handle_create.rs b/src/mito2/src/worker/handle_create.rs index 58981966a62a..5eebfe9bf28f 100644 --- a/src/mito2/src/worker/handle_create.rs +++ b/src/mito2/src/worker/handle_create.rs @@ -16,7 +16,6 @@ use std::sync::Arc; - use common_telemetry::info; use snafu::ResultExt; use store_api::logstore::LogStore; diff --git a/src/mito2/src/worker/handle_drop.rs b/src/mito2/src/worker/handle_drop.rs index 545139aa92c7..e03f9df42922 100644 --- a/src/mito2/src/worker/handle_drop.rs +++ b/src/mito2/src/worker/handle_drop.rs @@ -16,7 +16,6 @@ use std::time::Duration; - use common_telemetry::{info, warn}; use futures::TryStreamExt; use object_store::util::join_path; diff --git a/src/mito2/src/worker/handle_truncate.rs b/src/mito2/src/worker/handle_truncate.rs index f8c52b943fca..4749efa2455e 100644 --- a/src/mito2/src/worker/handle_truncate.rs +++ b/src/mito2/src/worker/handle_truncate.rs @@ -14,7 +14,6 @@ //! Handling truncate related requests. - use common_telemetry::info; use store_api::logstore::LogStore; use store_api::storage::RegionId;