Fix missing GSPO compaction

pull/475/head
Maximilian Goisser 2 years ago committed by Thomas Tanon
parent c3cf8e2002
commit 1d02098b70
  1. 4
      lib/src/storage/mod.rs

@ -288,7 +288,7 @@ impl Storage {
#[cfg(not(target_family = "wasm"))]
pub fn flush(&self) -> Result<(), StorageError> {
self.db.flush(&self.default_cf)?;
self.db.flush(&self.gpos_cf)?;
self.db.flush(&self.gspo_cf)?;
self.db.flush(&self.gpos_cf)?;
self.db.flush(&self.gosp_cf)?;
self.db.flush(&self.spog_cf)?;
@ -303,7 +303,7 @@ impl Storage {
#[cfg(not(target_family = "wasm"))]
pub fn compact(&self) -> Result<(), StorageError> {
self.db.compact(&self.default_cf)?;
self.db.compact(&self.gpos_cf)?;
self.db.compact(&self.gspo_cf)?;
self.db.compact(&self.gpos_cf)?;
self.db.compact(&self.gosp_cf)?;
self.db.compact(&self.spog_cf)?;

Loading…
Cancel
Save