go-ds-badger
go-ds-badger copied to clipboard
Datastore implementation using badger as backend.
### Problem Badger releases updates that are breaking changes to the on disk data format, we should be able to create datastore wrappers for each of these data formats. The...
Syncing to commit https://github.com/protocol/.github/commit/2aab7c039d804a6fcc9d4b330ef23e7788b4291f.
Bumps [github.com/ipfs/go-log/v2](https://github.com/ipfs/go-log) from 2.0.5 to 2.3.0. Release notes Sourced from github.com/ipfs/go-log/v2's releases. Release v2.3.0 Features: Do not output ANSI-color sequences unless one of the outputs is a TTY. New format...
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
Regarding a future transition to Badger, its garbage collection process [bails out](https://github.com/dgraph-io/badger/blob/8b89769ed71e56cf7f80abdcfd3576efc97bd412/value.go#L891-L892) in the case there is only one value log file, and by default the size of a value...
While we've gotten most of the memory issues under control (see #17 and #83), we're still using the default value log size of 1GiB. Unfortunately, it looks like badger loads...
I wonder why this package uses Badger's LSMOnlyOptions as a default https://github.com/ipfs/go-ds-badger/blob/master/datastore.go#L85 As it is quite a fine tuning setting for Badger would be nice to have documented the reason...
In lotus we decreased ValueTreshold from 1M (v1 badger max is 64k) to 1k to limit the number of open files.