minikv 2.0.1

Distributed key-value and object store with Raft-replicated metadata, two-phase commit to volume servers, and write-ahead logs.
1
2
3
4
5
6
7
use crate::common::Result;
use crate::volume::blob::BlobStore;
use std::sync::MutexGuard;

pub fn compact_store(store: &mut MutexGuard<'_, BlobStore>) -> Result<()> {
    store.compact()
}