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