From 91896109482f6dfa29bc8e7a12264e6efbd863f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=99=88=E5=AA=9B?= <10225101469@stu.ecnu.edu.cn> Date: Tue, 29 Oct 2024 10:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=90=88=E5=B9=B6=E9=80=BB?= =?UTF-8?q?=E8=BE=91-=E6=9C=B1=E9=99=88=E5=AA=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- leveldb_base/db/db_impl.cc | 1 + 1 file changed, 1 insertion(+) 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); }