Add comments to options.bottommost_compression (#8415)
Summary: Add comments to options.bottommost_compression for options.num_levels=1 Pull Request resolved: https://github.com/facebook/rocksdb/pull/8415 Reviewed By: ajkr Differential Revision: D29181997 fbshipit-source-id: 5f0f49470f75d796320ecb24d5dc4ef4eb6fbe0f
This commit is contained in:
parent
ac3f3f3719
commit
f127d459ad
@ -211,14 +211,18 @@ struct ColumnFamilyOptions : public AdvancedColumnFamilyOptions {
|
||||
CompressionType compression;
|
||||
|
||||
// Compression algorithm that will be used for the bottommost level that
|
||||
// contain files.
|
||||
// contain files. The behavior for num_levels = 1 is not well defined.
|
||||
// Right now, with num_levels = 1, all compaction outputs will use
|
||||
// bottommost_compression and all flush outputs still use options.compression,
|
||||
// but the behavior is subject to change.
|
||||
//
|
||||
// Default: kDisableCompressionOption (Disabled)
|
||||
CompressionType bottommost_compression = kDisableCompressionOption;
|
||||
|
||||
// different options for compression algorithms used by bottommost_compression
|
||||
// if it is enabled. To enable it, please see the definition of
|
||||
// CompressionOptions.
|
||||
// CompressionOptions. Behavior for num_levels = 1 is the same as
|
||||
// options.bottommost_compression.
|
||||
CompressionOptions bottommost_compression_opts;
|
||||
|
||||
// different options for compression algorithms
|
||||
|
Loading…
Reference in New Issue
Block a user