mirror of
https://github.com/ShadowJonathan/conduit_toolbox.git
synced 2025-06-07 18:07:08 +03:00
add flush to rocksdb
This commit is contained in:
parent
d7c8258641
commit
c096eefa32
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ impl<'r> Segment for RocksDBCF<'r> {
|
||||||
self.db.rocks.put_cf(cf, key, value)?;
|
self.db.rocks.put_cf(cf, key, value)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.db.rocks.flush_cf(cf)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue