Update mvcc.rs (#143)

* Update mvcc.rs

fix that tests can't use watermark

* fix fmt

Signed-off-by: Alex Chi <iskyzh@gmail.com>

---------

Signed-off-by: Alex Chi <iskyzh@gmail.com>
Co-authored-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
lxc
2025-05-05 17:36:44 +08:00
committed by GitHub
parent 68bfffb13f
commit 37a6d90795

View File

@@ -16,7 +16,7 @@
#![allow(dead_code)] // TODO(you): remove this lint after implementing this mod
pub mod txn;
mod watermark;
pub mod watermark;
use std::{
collections::{BTreeMap, HashSet},
@@ -25,9 +25,8 @@ use std::{
use parking_lot::Mutex;
use crate::lsm_storage::LsmStorageInner;
use self::{txn::Transaction, watermark::Watermark};
use crate::lsm_storage::LsmStorageInner;
pub(crate) struct CommittedTxnData {
pub(crate) key_hashes: HashSet<u32>,