Skip to content

Commit

Permalink
refactor: implement rocks transaction
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds committed Apr 22, 2024
1 parent 668fcdb commit 61de1a9
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/engine/src/rocksdb_engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl StorageEngine for RocksEngine {

#[inline]
fn transaction(&self) -> RocksTransaction {
RocksTransaction {}
RocksTransaction::new(Arc::clone(&self.inner), Arc::clone(&self.size))
}

#[inline]
Expand Down
Loading

0 comments on commit 61de1a9

Please sign in to comment.