Skip to content

Commit

Permalink
chore: fix building warning without test (#14230)
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Dec 27, 2023
1 parent 641e522 commit ec7bf4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/storage/src/hummock/store/hummock_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use risingwave_common::util::epoch::is_max_epoch;
use risingwave_common_service::observer_manager::{NotificationClient, ObserverManager};
use risingwave_hummock_sdk::key::{is_empty_key_range, TableKey, TableKeyRange};
use risingwave_hummock_sdk::table_watermark::ReadTableWatermark;
use risingwave_hummock_sdk::version::HummockVersion;
use risingwave_hummock_sdk::HummockReadEpoch;
use risingwave_pb::hummock::SstableInfo;
use risingwave_rpc_client::HummockMetaClient;
Expand Down Expand Up @@ -530,6 +529,9 @@ impl StateStore for HummockStorage {
}
}

#[cfg(any(test, feature = "test"))]
use risingwave_hummock_sdk::version::HummockVersion;

#[cfg(any(test, feature = "test"))]
impl HummockStorage {
pub async fn seal_and_sync_epoch(&self, epoch: u64) -> StorageResult<SyncResult> {
Expand Down

0 comments on commit ec7bf4b

Please sign in to comment.