diff --git a/leveldb_base/db/db_impl.cc b/leveldb_base/db/db_impl.cc index 24528b5..bad0c82 100644 --- a/leveldb_base/db/db_impl.cc +++ b/leveldb_base/db/db_impl.cc @@ -598,6 +598,7 @@ void DBImpl::CompactRange(const Slice* begin, const Slice* end) { } TEST_CompactMemTable(); // TODO(sanjay): Skip if memtable does not overlap // 这个改成小于等于,test能过,但这不是改变原本的手动合并逻辑了吗?-朱陈媛 + // 改了之后应该也不影响合并 for (int level = 0; level <= max_level_with_files; level++) { TEST_CompactRange(level, begin, end); }