Reading the docs on badger’s Close()
“Close closes a DB. It’s crucial to call it to ensure all the pending updates make their way to disk.”
However, should not a simple Commit() with SyncWrites=true be sufficient? The docs imply writes to disk are not ensured without Close() too.