add cache options for rocksdb by javeme · Pull Request #567 · apache/hugegraph

@javeme

Change-Id: Icc4ae746f3117905960b8de52ae59386e0684584

Linary

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()

@javeme

Change-Id: Icc4ae746f3117905960b8de52ae59386e0684584

@codecov

Linary

Linary previously approved these changes Jun 18, 2019

@javeme

Change-Id: I4eb88b658165409516ecb9ee94ba8bec2ffc21fd

Linary

zhoney

@zhoney zhoney deleted the rocksdb_add_cache_options branch

June 26, 2019 08:40