Skip to content

Commit

Permalink
update fdb vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
sunface committed Jan 4, 2019
1 parent 4c1189c commit c1d3430
Show file tree
Hide file tree
Showing 25 changed files with 633 additions and 209 deletions.
4 changes: 2 additions & 2 deletions broker/service/fdb_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const (
/*------------------------------Storage interface implemented------------------------*/

func (f *FdbStore) Init() {
fdb.MustAPIVersion(510)
fdb.MustAPIVersion(600)

f.dbs = make([]*database, f.bk.conf.Store.FDB.Threads)
f.pubchs = make([](chan []*proto.PubMsg), f.bk.conf.Store.FDB.Threads)
Expand Down Expand Up @@ -378,7 +378,7 @@ func put(d *database, msgs []*proto.PubMsg) {
}

func (f *FdbStore) process(i int) {
fdb.MustAPIVersion(510)
fdb.MustAPIVersion(600)
db := fdb.MustOpenDefault()
dir, err := directory.CreateOrOpen(db, []string{f.bk.conf.Store.FDB.Namespace}, nil)
if err != nil {
Expand Down
9 changes: 5 additions & 4 deletions vendor/github.com/apple/foundationdb/bindings/go/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 32 additions & 12 deletions vendor/github.com/apple/foundationdb/bindings/go/fdb-go-install.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1d3430

Please sign in to comment.