From 6d6beb294bd5da5aa191f36dc7cd3aabdf6f3c32 Mon Sep 17 00:00:00 2001 From: Patrick Huang Date: Tue, 5 Mar 2024 05:39:15 +0000 Subject: [PATCH] fix check --- src/storage/hummock_trace/src/opts.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/storage/hummock_trace/src/opts.rs b/src/storage/hummock_trace/src/opts.rs index 72454327c33d0..966fd62d34ddc 100644 --- a/src/storage/hummock_trace/src/opts.rs +++ b/src/storage/hummock_trace/src/opts.rs @@ -16,7 +16,6 @@ use bincode::{Decode, Encode}; use risingwave_common::buffer::Bitmap; use risingwave_common::cache::CachePriority; use risingwave_common::catalog::{TableId, TableOption}; -use risingwave_common::hash::VirtualNode; use risingwave_common::util::epoch::EpochPair; use risingwave_hummock_sdk::HummockReadEpoch; use risingwave_pb::common::PbBuffer; @@ -156,6 +155,8 @@ pub struct TracedNewLocalOptions { #[cfg(test)] impl TracedNewLocalOptions { pub(crate) fn for_test(table_id: u32) -> Self { + use risingwave_common::hash::VirtualNode; + Self { table_id: TracedTableId { table_id }, op_consistency_level: TracedOpConsistencyLevel::Inconsistent,