diff --git a/db/memtable.cc b/db/memtable.cc index 23cb3398e..9f939e4d3 100644 --- a/db/memtable.cc +++ b/db/memtable.cc @@ -560,7 +560,7 @@ static bool SaveValue(void* arg, const char* entry) { ValueType type; UnPackSequenceAndType(tag, &s->seq, &type); - if ((type == kTypeValue || type == kTypeDeletion) && + if ((type == kTypeValue || type == kTypeDeletion || type == kTypeMerge) && range_del_agg->ShouldDelete(Slice(key_ptr, key_length))) { type = kTypeRangeDeletion; }