Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw committed Oct 28, 2023
1 parent c8c86fe commit cb00dd8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/kernel/lsm/mvcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,17 +325,13 @@ mod tests {

// 模拟数据分布在MemTable以及SSTable中
for kv in vec_kv.iter().take(50) {
kv_store
.set(kv.0.clone(), kv.1.clone())
.await?;
kv_store.set(kv.0.clone(), kv.1.clone()).await?;
}

kv_store.flush().await?;

for kv in vec_kv.iter().take(100).skip(50) {
kv_store
.set(kv.0.clone(), kv.1.clone())
.await?;
kv_store.set(kv.0.clone(), kv.1.clone()).await?;
}

let mut tx_1 = kv_store.new_transaction().await;
Expand Down

0 comments on commit cb00dd8

Please sign in to comment.