From b717e7c63214f08bbc2263b920c793e1c51d4df7 Mon Sep 17 00:00:00 2001 From: William Wen Date: Wed, 5 Jun 2024 16:48:20 +0800 Subject: [PATCH] fix compile --- src/meta/src/hummock/manager/tests.rs | 4 ++-- src/storage/hummock_sdk/src/version.rs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/meta/src/hummock/manager/tests.rs b/src/meta/src/hummock/manager/tests.rs index ac9f5b509ffd..90ba6db61de4 100644 --- a/src/meta/src/hummock/manager/tests.rs +++ b/src/meta/src/hummock/manager/tests.rs @@ -2295,11 +2295,11 @@ async fn test_unregister_moved_table() { ); hummock_manager - .register_table_ids(&[(100, 2)]) + .register_table_ids_for_test(&[(100, 2)]) .await .unwrap(); hummock_manager - .register_table_ids(&[(101, 2)]) + .register_table_ids_for_test(&[(101, 2)]) .await .unwrap(); let sst_1 = ExtendedSstableInfo { diff --git a/src/storage/hummock_sdk/src/version.rs b/src/storage/hummock_sdk/src/version.rs index 269fbc9b5922..130c5f6f523d 100644 --- a/src/storage/hummock_sdk/src/version.rs +++ b/src/storage/hummock_sdk/src/version.rs @@ -17,7 +17,6 @@ use std::collections::{HashMap, HashSet}; use std::mem::{replace, size_of}; use std::sync::Arc; -use itertools::Itertools; use prost::Message; use risingwave_common::catalog::TableId; use risingwave_pb::hummock::group_delta::DeltaType; @@ -27,7 +26,7 @@ use risingwave_pb::hummock::{ HummockVersion as PbHummockVersion, HummockVersionDelta as PbHummockVersionDelta, SstableInfo, StateTableInfo as PbStateTableInfo, StateTableInfo, StateTableInfoDelta, }; -use tracing::{info, warn}; +use tracing::warn; use crate::change_log::TableChangeLog; use crate::table_watermark::TableWatermarks;