add cache options for rocksdb by javeme · Pull Request #567 · apache/hugegraph
| conf.get(RocksDBOptions.COMPRESSION_TYPES); | ||
| E.checkArgument(compressions.isEmpty() || | ||
| compressions.size() == numLevels, | ||
| "Elements number of '%s' must be the same as '%s'" + |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as num levels
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This intent has been provided by RocksDBOptions.NUM_LEVELS.name()
Linary previously approved these changes Jun 18, 2019
zhoney
deleted the
rocksdb_add_cache_options
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters