mirror of https://gitee.com/bigwinds/arangodb
disable enforce-block-cache-size-limit for now (#9270)
This commit is contained in:
parent
8b5b1677a4
commit
7a197b49e6
|
@ -1,3 +1,8 @@
|
|||
v3.3.25 (2019-XX-XX)
|
||||
--------------------
|
||||
|
||||
* disabled enforce-block-cache-size-limit because of bugs in RocksDB 5.6
|
||||
|
||||
v3.3.24 (2019-08-09)
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -255,7 +255,7 @@ void RocksDBOptionFeature::collectOptions(std::shared_ptr<ProgramOptions> option
|
|||
new Int64Parameter(&_blockCacheShardBits));
|
||||
|
||||
options->addOption("--rocksdb.enforce-block-cache-size-limit",
|
||||
"if true, strictly enforces the block cache size limit",
|
||||
"if true, strictly enforces the block cache size limit (not supported)",
|
||||
new BooleanParameter(&_enforceBlockCacheSizeLimit));
|
||||
|
||||
options->addOption(
|
||||
|
@ -331,6 +331,9 @@ void RocksDBOptionFeature::validateOptions(std::shared_ptr<ProgramOptions> optio
|
|||
<< "invalid value for '--rocksdb.block-cache-shard-bits'";
|
||||
FATAL_ERROR_EXIT();
|
||||
}
|
||||
|
||||
// currently disable because this can cause an error in RocksDB 5.6
|
||||
_enforceBlockCacheSizeLimit = false;
|
||||
}
|
||||
|
||||
void RocksDBOptionFeature::start() {
|
||||
|
|
Loading…
Reference in New Issue