diff --git a/db/memtable.cc b/db/memtable.cc index 6ce2c361e81..c3a6433dc14 100644 --- a/db/memtable.cc +++ b/db/memtable.cc @@ -766,7 +766,7 @@ Status MemTable::Add(SequenceNumber s, ValueType type, if (!allow_concurrent) { // Extract prefix for insert with hint. Hints are for point key table - // (`table`) only, not `range_del_table_`. + // (`table_`) only, not `range_del_table_`. if (table == table_ && insert_with_hint_prefix_extractor_ != nullptr && insert_with_hint_prefix_extractor_->InDomain(key_slice)) { Slice prefix = insert_with_hint_prefix_extractor_->Transform(key_slice); diff --git a/unreleased_history/bug_fixes/del_range_and_memtable_insert_with_hint_prefix_extractor.md b/unreleased_history/bug_fixes/del_range_and_memtable_insert_with_hint_prefix_extractor.md new file mode 100644 index 00000000000..7283fb95ac9 --- /dev/null +++ b/unreleased_history/bug_fixes/del_range_and_memtable_insert_with_hint_prefix_extractor.md @@ -0,0 +1 @@ +* Fixed feature interaction bug for `DeleteRange()` together with `ColumnFamilyOptions::memtable_insert_with_hint_prefix_extractor`. The impact of this bug would likely be corruption or crashing.