diff --git a/docs/datastores.md b/docs/datastores.md index 669ffa615..bec26c649 100644 --- a/docs/datastores.md +++ b/docs/datastores.md @@ -38,11 +38,15 @@ Uses a leveldb database to store key value pairs. ## badgerds Uses [badger](https://github.com/dgraph-io/badger) as a key value store. +* `syncWrites`: Synchronize every write to disk. +* `truncate`: Truncate the DB if a corrupted sector is found (otherwise Badger won't start). This option is always set to `true` in Windows if `syncWrites` is set. + ```json { "type": "badgerds", "path": "