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