Log expected db data version

indexv3
Martin Boehm 2018-08-15 16:07:09 +02:00
parent 8e3c7f851b
commit 78d2c085a9
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func openDB(path string) (*gorocksdb.DB, []*gorocksdb.ColumnFamilyHandle, error)
// NewRocksDB opens an internal handle to RocksDB environment. Close
// needs to be called to release it.
func NewRocksDB(path string, parser bchain.BlockChainParser, metrics *common.Metrics) (d *RocksDB, err error) {
glog.Infof("rocksdb: open %s", path)
glog.Infof("rocksdb: open %s, version %v", path, dbVersion)
db, cfh, err := openDB(path)
wo := gorocksdb.NewDefaultWriteOptions()
ro := gorocksdb.NewDefaultReadOptions()