Skip to content

Commit

Permalink
state sync chunk lifetime fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Jun 3, 2024
1 parent 016795e commit 9b26d25
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 398 deletions.
6 changes: 3 additions & 3 deletions grovedb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,11 @@ impl GroveDb {

/// Opens a Merk at given path for with direct write access. Intended for
/// replication purposes.
fn open_merk_for_replication<'db, 'b, B>(
fn open_merk_for_replication<'tx, 'db: 'tx, 'b, B>(
&'db self,
path: SubtreePath<'b, B>,
tx: &'db Transaction,
) -> Result<Merk<PrefixedRocksDbImmediateStorageContext<'db>>, Error>
tx: &'tx Transaction<'db>,
) -> Result<Merk<PrefixedRocksDbImmediateStorageContext<'tx>>, Error>
where
B: AsRef<[u8]> + 'b,
{
Expand Down
Loading

0 comments on commit 9b26d25

Please sign in to comment.