Change RocksDBLRUCache size to 0 (#9820)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-10-13 20:28:34 +08:00 committed by GitHub
parent 91355ba31b
commit e97b62cf67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ type RocksdbKV struct {
const (
// LRUCacheSize is the lru cache size of rocksdb, default 3 << 30
LRUCacheSize = 512 * 1024 * 1024
LRUCacheSize = 0
)
// NewRocksdbKV returns a rockskv object

View File

@ -38,7 +38,7 @@ var RocksmqPageSize int64 = 2 << 30
const (
DefaultMessageID = "-1"
FixedChannelNameLen = 320
RocksDBLRUCacheCapacity = 512 * 1024 * 1024
RocksDBLRUCacheCapacity = 0
kvSuffix = "_meta_kv"