提交 b6b92612 作者: Steven Allen

CHANGELOG: add instructions for enabling truncate on a badger datastore

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 64dee039
......@@ -220,6 +220,10 @@ _delete_ any un-synced data on start instead of simply refusing to start. This
should be safe on all filesystems where the `sync` operation is safe and removes
the need for manual intervention when restarting an IPFS node after a crash.
Assuming you initialized your badger repo with `ipfs init --profile=badgerds`,
you can enable truncate on an existing repo by running: `ipfs config --json
"Datastore.Spec.child.truncate" true`.
### Refactors and Endeavors
#### 🕹 Commands Library
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论