mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-01 00:15:30 +08:00
Unset max open files in rocksdb (#8799)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user