Skip to content

Commit

Permalink
bolt,leveldb: swap names to a new kv backend implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Dec 16, 2017
1 parent 3603215 commit c266392
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion graph/bolt/quadstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var (
const localFillPercent = 0.7

const (
QuadStoreType = "bolt"
QuadStoreType = "bolt1"
)

type Token struct {
Expand Down
2 changes: 1 addition & 1 deletion graph/kv/bolt/bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func init() {
}

const (
Type = "bolt2"
Type = "bolt"
)

func getBoltFile(cfgpath string) string {
Expand Down
2 changes: 1 addition & 1 deletion graph/kv/leveldb/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func init() {
}

const (
Type = "leveldb2"
Type = "leveldb"
)

func newDB(d *leveldb.DB, m graph.Options) *DB {
Expand Down
2 changes: 1 addition & 1 deletion graph/leveldb/quadstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func init() {
const (
DefaultCacheSize = 2
DefaultWriteBufferSize = 20
QuadStoreType = "leveldb"
QuadStoreType = "leveldb1"
horizonKey = "__horizon"
sizeKey = "__size"
versionKey = "__version"
Expand Down

0 comments on commit c266392

Please sign in to comment.