mneme.db:sync

mneme

db:sync() -> ok, err

Flush the database file to stable storage (fdatasync)

Explicitly fdatasyncs the database file. The complement of sync = "none": a store opened without per-commit syncs calls this at its own durability points (a bulk load's end, an application's safe checkpoints).