From 726e95ecc97d0301eb7156e334071153406f3704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 10 Nov 2017 10:14:08 +0100 Subject: [PATCH 1/2] Update badgerds to 1.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Łukasz Magiera --- package.json | 4 ++-- repo/fsrepo/datastores.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f2192f5ca..334790341 100644 --- a/package.json +++ b/package.json @@ -460,9 +460,9 @@ }, { "author": "magik6k", - "hash": "QmNyEjsu9TxPRC1PqaL3JQRwAsSAGA1mu6ZtuHonvh5rju", + "hash": "QmaZp8XCS3su4Mzd8DL95npF9dqkEC9rTxmSiV3YX9qQy4", "name": "go-ds-badger", - "version": "1.1.1" + "version": "1.1.2" }, { "author": "whyrusleeping", diff --git a/repo/fsrepo/datastores.go b/repo/fsrepo/datastores.go index 9fef86aa6..a16f9606c 100644 --- a/repo/fsrepo/datastores.go +++ b/repo/fsrepo/datastores.go @@ -16,8 +16,8 @@ import ( ds "gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore" mount "gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore/syncmount" - badgerds "gx/ipfs/QmNyEjsu9TxPRC1PqaL3JQRwAsSAGA1mu6ZtuHonvh5rju/go-ds-badger" levelds "gx/ipfs/QmPdvXuXWAR6gtxxqZw42RtSADMwz4ijVmYHGS542b6cMz/go-ds-leveldb" + badgerds "gx/ipfs/QmaZp8XCS3su4Mzd8DL95npF9dqkEC9rTxmSiV3YX9qQy4/go-ds-badger" ldbopts "gx/ipfs/QmbBhyDKsY4mbY6xsKt3qu9Y7FPvMJ6qbD8AMjYYvPRw1g/goleveldb/leveldb/opt" ) From cf4c9bd857fdf554a553b7f1eddc0ff1b34219d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 10 Nov 2017 10:32:07 +0100 Subject: [PATCH 2/2] docs: Badger entry in experimenal-features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Łukasz Magiera --- docs/experimental-features.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/experimental-features.md b/docs/experimental-features.md index db2aa2ad2..1a3c5b539 100644 --- a/docs/experimental-features.md +++ b/docs/experimental-features.md @@ -301,6 +301,9 @@ Peers can see their (unspecific) relay address in the output of ### In Version 0.4.11 +### State +Experimental + Plugins allow to add functionality without the need to recompile the daemon. ### Basic Usage: @@ -312,3 +315,30 @@ See [Plugin docs](./plugins.md) - [ ] Better support for platforms other than Linux - [ ] More plugins and plugin types - [ ] Feedback on stability + + ## Badger datastore + + ### In Version + 0.4.11 + + Badger-ds is new datastore implementation based on + https://github.com/dgraph-io/badger + + ### Basic Usage + + ``` + $ ipfs init --profile=badgerds + ``` + or + ``` + [BACKUP ~/.ipfs] + $ ipfs config profile apply badgerds + $ ipfs-ds-convert convert + ``` + +### + +### Road to being a real feature + +- [ ] Needs more testing +- [ ] Make sure there are no unknown major problems