Declare snapshot refresh incompatible with delete range (#5625)
Summary: The ::snap_refresh_nanos option is incompatible with DeleteRange feature. Currently the code relies on range_del_agg.IsEmpty() to disable it if there are range delete tombstones. However ::IsEmpty does not guarantee that there is no RangeDelete tombstones in the SST files. The patch declares the two features incompatible in inline comments until we later figure how to properly detect the presence of RangeDelete tombstones in compaction inputs. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5625 Differential Revision: D16468218 Pulled By: maysamyabandeh fbshipit-source-id: bd7beca278bc7e1db75e7ee4522d05a3a6ca86f4
This commit is contained in:
parent
7260347fd1
commit
d9dc6b4637
@ -275,6 +275,8 @@ struct ColumnFamilyOptions : public AdvancedColumnFamilyOptions {
|
|||||||
// this option helps reducing the cpu usage of long-running compactions. The
|
// this option helps reducing the cpu usage of long-running compactions. The
|
||||||
// feature is disabled when max_subcompactions is greater than one.
|
// feature is disabled when max_subcompactions is greater than one.
|
||||||
//
|
//
|
||||||
|
// NOTE: This feautre is currently incompatible with RangeDeletes.
|
||||||
|
//
|
||||||
// Default: 0
|
// Default: 0
|
||||||
//
|
//
|
||||||
// Dynamically changeable through SetOptions() API
|
// Dynamically changeable through SetOptions() API
|
||||||
|
Loading…
Reference in New Issue
Block a user