@cryptotaxi247 / kubo / commits / b6b92612a

CHANGELOG: add instructions for enabling truncate on a badger datastore

License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Feb 26, 2019 at 14:06 UTC b6b92612a8e9c029912af9bb58472e56cc009254
1 file changed +4
CHANGELOG.md
+4
@@ -220,6 +220,10 @@ _delete_ any un-synced data on start instead of simply refusing to start. This
220 should be safe on all filesystems where the `sync` operation is safe and removes
221 the need for manual intervention when restarting an IPFS node after a crash.
222
223 +Assuming you initialized your badger repo with `ipfs init --profile=badgerds`,
224 +you can enable truncate on an existing repo by running: `ipfs config --json
225 +"Datastore.Spec.child.truncate" true`.
226 +
227 ### Refactors and Endeavors
228
229 #### 🕹 Commands Library