mirror of https://github.com/milvus-io/milvus.git
Unset max open files in rocksdb (#8799)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/8629/head
parent
c23236c50e
commit
1eb3168254
|
@ -123,7 +123,7 @@ func NewRocksMQ(name string, idAllocator allocator.GIDAllocator) (*rocksmq, erro
|
|||
opts.SetBlockBasedTableFactory(bbto)
|
||||
opts.SetCreateIfMissing(true)
|
||||
opts.SetPrefixExtractor(gorocksdb.NewFixedPrefixTransform(FixedChannelNameLen + 1))
|
||||
opts.SetMaxOpenFiles(-1)
|
||||
// opts.SetMaxOpenFiles(-1)
|
||||
|
||||
db, err := gorocksdb.OpenDb(opts, name)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue