We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d74ce commit 4c66b89Copy full SHA for 4c66b89
versiondb/tsrocksdb/opts.go
@@ -67,8 +67,6 @@ func OpenVersionDB(dir string) (*grocksdb.DB, *grocksdb.ColumnFamilyHandle, erro
67
// OpenVersionDBForReadOnly open versiondb in readonly mode
68
func OpenVersionDBForReadOnly(dir string, errorIfWalFileExists bool) (*grocksdb.DB, *grocksdb.ColumnFamilyHandle, error) {
69
opts := grocksdb.NewDefaultOptions()
70
- opts.SetCreateIfMissing(true)
71
- opts.SetCreateIfMissingColumnFamilies(true)
72
db, cfHandles, err := grocksdb.OpenDbForReadOnlyColumnFamilies(
73
opts, dir, []string{"default", VersionDBCFName},
74
[]*grocksdb.Options{opts, NewVersionDBOpts(false)},
0 commit comments