提交 ba7f0036 编写于 作者: W wangyi.ywq 提交者: 奏之章

check sst_test

上级 160d18ad
...@@ -945,7 +945,6 @@ void DBImpl::ScheduleGCTTL() { ...@@ -945,7 +945,6 @@ void DBImpl::ScheduleGCTTL() {
sst->prop.ratio_expire_time, sst->prop.scan_gap_expire_time, sst->prop.ratio_expire_time, sst->prop.scan_gap_expire_time,
nowSeconds); nowSeconds);
if (sst->marked_for_compaction) { if (sst->marked_for_compaction) {
std::cout << sst->marked_for_compaction << std::endl;
TEST_SYNC_POINT("DBImpl:ScheduleGCTTL-mark"); TEST_SYNC_POINT("DBImpl:ScheduleGCTTL-mark");
mark_count++; mark_count++;
} }
......
...@@ -52,7 +52,6 @@ class DBImplGCTTL_Test : public DBTestBase { ...@@ -52,7 +52,6 @@ class DBImplGCTTL_Test : public DBTestBase {
}); });
rocksdb::SyncPoint::GetInstance()->SetCallBack( rocksdb::SyncPoint::GetInstance()->SetCallBack(
"DBImpl:ScheduleGCTTL-mark", [&](void* /*arg*/) { "DBImpl:ScheduleGCTTL-mark", [&](void* /*arg*/) {
std::cout << mark << std::endl;
mark++; mark++;
}); });
} }
......
...@@ -179,7 +179,7 @@ TEST_F(DBSSTTest, DeleteObsoleteFilesPendingOutputs) { ...@@ -179,7 +179,7 @@ TEST_F(DBSSTTest, DeleteObsoleteFilesPendingOutputs) {
options.level0_file_num_compaction_trigger = options.level0_file_num_compaction_trigger =
2; // trigger compaction when we have 2 files 2; // trigger compaction when we have 2 files
options.max_background_flushes = 2; options.max_background_flushes = 2;
options.max_background_compactions = 2; options.max_background_compactions = 2;RateLimitedDelete
options.enable_lazy_compaction = false; options.enable_lazy_compaction = false;
options.blob_size = -1; options.blob_size = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册