Home
last modified time | relevance | path

Searched refs:kTypeDeletion (Results 1 – 25 of 31) sorted by relevance

12

/rocksdb-6.9/db/compaction/
Dcompaction_iterator_test.cc678 RunTest({test::KeyStr("a", 1, kTypeDeletion), in TEST_P()
679 test::KeyStr("b", 3, kTypeDeletion), in TEST_P()
682 {test::KeyStr("b", 3, kTypeDeletion), in TEST_P()
725 RunTest({test::KeyStr("foo", 2, kTypeDeletion), in TEST_F()
728 {test::KeyStr("foo", 2, kTypeDeletion), in TEST_F()
782 test::KeyStr("foo", 3, kTypeDeletion), in TEST_F()
786 test::KeyStr("foo", 3, kTypeDeletion), in TEST_F()
850 {test::KeyStr("a", 1, kTypeDeletion), test::KeyStr("b", 2, kTypeDeletion), in TEST_F()
851 test::KeyStr("c", 3, kTypeDeletion)}, in TEST_F()
939 {test::KeyStr("a", 2, kTypeDeletion), in TEST_F()
[all …]
Dcompaction_job_test.cc411 auto file1 = mock::MakeMockFile({{KeyStr("c", 4U, kTypeDeletion), ""}, in TEST_F()
647 {KeyStr("a", 5U, kTypeDeletion), ""}, in TEST_F()
662 mock::MakeMockFile({{KeyStr("a", 5U, kTypeDeletion), ""}}); in TEST_F()
885 {KeyStr("L", 13U, kTypeDeletion), ""}, in TEST_F()
887 {KeyStr("L", 11U, kTypeDeletion), ""}, in TEST_F()
888 {KeyStr("M", 16U, kTypeDeletion), ""}, in TEST_F()
892 {KeyStr("M", 12U, kTypeDeletion), ""}, in TEST_F()
933 {KeyStr("L", 3U, kTypeDeletion), ""}, in TEST_F()
938 {KeyStr("M", 5U, kTypeDeletion), ""}, in TEST_F()
980 {KeyStr("M", 16U, kTypeDeletion), ""}, in TEST_F()
[all …]
Dcompaction_iterator.cc222 ikey_.type = kTypeDeletion; in InvokeFilterIfNeeded()
223 current_key_.UpdateInternalKey(ikey_.sequence, kTypeDeletion); in InvokeFilterIfNeeded()
268 if (ikey_.type == kTypeDeletion || ikey_.type == kTypeSingleDeletion) { in NextFromInput()
513 } else if (compaction_ != nullptr && ikey_.type == kTypeDeletion && in NextFromInput()
542 } else if ((ikey_.type == kTypeDeletion) && bottommost_level_ && in NextFromInput()
675 assert(ikey_.type != kTypeDeletion && ikey_.type != kTypeSingleDeletion); in PrepareOutput()
676 if (ikey_.type == kTypeDeletion || ikey_.type == kTypeSingleDeletion) { in PrepareOutput()
/rocksdb-6.9/db/
Dversion_edit_test.cc39 InternalKey("zoo", kBig + 600 + i, kTypeDeletion), in TEST_F()
57 InternalKey("zoo", kBig + 600, kTypeDeletion), kBig + 500, in TEST_F()
62 InternalKey("zoo", kBig + 601, kTypeDeletion), kBig + 501, in TEST_F()
67 InternalKey("zoo", kBig + 602, kTypeDeletion), kBig + 502, in TEST_F()
112 InternalKey("zoo", kBig + 600, kTypeDeletion), kBig + 500, in TEST_F()
117 InternalKey("zoo", kBig + 601, kTypeDeletion), kBig + 501, in TEST_F()
164 InternalKey("zoo", kBig + 600, kTypeDeletion), kBig + 500, in TEST_F()
Dexternal_sst_file_basic_test.cc96 case ValueType::kTypeDeletion: in GenerateAndAddExternalFile()
409 options, {1, 130}, ValueType::kTypeDeletion, file_id++, in TEST_P()
525 {ValueType::kTypeDeletion, ValueType::kTypeValue, in TEST_P()
534 {ValueType::kTypeDeletion, ValueType::kTypeMerge, in TEST_P()
558 ValueType::kTypeDeletion}, in TEST_P()
575 ValueType::kTypeDeletion}, in TEST_P()
598 {ValueType::kTypeValue, ValueType::kTypeDeletion, in TEST_P()
599 ValueType::kTypeDeletion}, in TEST_P()
607 {ValueType::kTypeDeletion, ValueType::kTypeDeletion, in TEST_P()
608 ValueType::kTypeDeletion}, in TEST_P()
[all …]
Ddb_iter.cc269 case kTypeDeletion: in FindNextUserEntryInternal()
406 ParsedInternalKey(saved_key_.GetUserKey(), 0, kTypeDeletion)); in FindNextUserEntryInternal()
411 ParsedInternalKey(saved_key_.GetUserKey(), 0, kTypeDeletion), in FindNextUserEntryInternal()
478 } else if (kTypeDeletion == ikey.type || kTypeSingleDeletion == ikey.type || in MergeValuesNewToOld()
723 ValueType last_not_merge_type = kTypeDeletion; in FindValueForCurrentKey()
724 ValueType last_key_entry_type = kTypeDeletion; in FindValueForCurrentKey()
772 case kTypeDeletion: in FindValueForCurrentKey()
810 case kTypeDeletion: in FindValueForCurrentKey()
817 if (last_not_merge_type == kTypeDeletion || in FindValueForCurrentKey()
920 if (ikey.type == kTypeDeletion || ikey.type == kTypeSingleDeletion || in FindValueForCurrentKeyUsingSeek()
[all …]
Dtable_properties_collector_test.cc255 {{"Love ", kTypeDeletion}, ""}, in TestCustomizedTablePropertiesCollector()
258 {{"Rocks ", kTypeDeletion}, ""}, in TestCustomizedTablePropertiesCollector()
383 InternalKey("W ", 3, ValueType::kTypeDeletion), in TestInternalKeyPropertiesCollector()
384 InternalKey("X ", 4, ValueType::kTypeDeletion), in TestInternalKeyPropertiesCollector()
385 InternalKey("Y ", 5, ValueType::kTypeDeletion), in TestInternalKeyPropertiesCollector()
386 InternalKey("Z ", 6, ValueType::kTypeDeletion), in TestInternalKeyPropertiesCollector()
Dmerge_helper_test.cc146 AddKeyVal("a", 20, kTypeDeletion, ""); in TEST_F()
163 AddKeyVal("a", 20, kTypeDeletion, "", true); // <- iter_ after merge in TEST_F()
215 AddKeyVal("a", 24, kTypeDeletion, test::EncodeInt(5U)); in TEST_F()
225 ASSERT_EQ(test::KeyStr("a", 24, kTypeDeletion), iter_->key().ToString()); in TEST_F()
Ddb_iter_stress_test.cc319 if (e.type == kTypeDeletion) { in FindValueForCurrentKey()
340 if (e.type == kTypeDeletion) { in FindValueForCurrentKey()
439 {kTypeValue, kTypeDeletion, kTypeMerge}) { in TEST_F()
464 const ValueType types[] = {kTypeValue, kTypeDeletion, in TEST_F()
486 : e.type == kTypeDeletion ? "del" : "merge"); in TEST_F()
Ddbformat_test.cc65 TestKey("hello", 1, kTypeDeletion); in TEST_F()
83 IKey("foo", 100, kTypeDeletion))); in TEST_F()
179 ValueType new_val_type = kTypeDeletion; in TEST_F()
Ddbformat.cc27 const ValueType kValueTypeForSeekForPrev = kTypeDeletion;
39 case kTypeDeletion: in GetEntryType()
Dmemtable_list_test.cc240 mem->Add(++seq, kTypeDeletion, "key1", ""); in TEST_F()
281 mem2->Add(++seq, kTypeDeletion, "key1", ""); in TEST_F()
357 mem->Add(++seq, kTypeDeletion, "key1", ""); in TEST_F()
441 mem2->Add(++seq, kTypeDeletion, "key1", ""); in TEST_F()
556 mem->Add(++seq, kTypeDeletion, "keyX" + ToString(i), ""); in TEST_F()
825 mem->Add(++seq, kTypeDeletion, "keyX" + ToString(i), ""); in TEST_F()
Ddbformat.h45 kTypeDeletion = 0x0, enumerator
115 type = kTypeDeletion; in clear()
Dmemtable.cc525 if (type == kTypeDeletion) { in Add()
562 if (type == kTypeDeletion) { in Add()
726 case kTypeDeletion: in SaveValue()
Dwrite_batch.cc439 case kTypeDeletion: in ReadRecordFromWriteBatch()
586 case kTypeDeletion: in Iterate()
906 b->rep_.push_back(static_cast<char>(kTypeDeletion)); in Delete()
928 b->rep_.push_back(static_cast<char>(kTypeDeletion)); in Delete()
1549 auto ret_status = DeleteImpl(column_family_id, key, Slice(), kTypeDeletion); in DeleteCF()
Ddb_memtable_test.cc161 res = mem->Add(seq, kTypeDeletion, "key", ""); in TEST_F()
/rocksdb-6.9/table/
Dsst_file_writer.cc88 case ValueType::kTypeDeletion: in Add()
90 ValueType::kTypeDeletion /* Delete */); in Add()
274 return rep_->Add(user_key, Slice(), ValueType::kTypeDeletion); in Delete()
Dget_context.cc285 case kTypeDeletion: in SaveValue()
/rocksdb-6.9/db/blob/
Ddb_blob_index_test.cc231 /*07*/ {kTypeDeletion, kTypeBlobIndex}, in TEST_F()
238 {kTypeMerge, kTypeMerge, kTypeMerge, kTypeDeletion, kTypeBlobIndex}, in TEST_F()
341 case kTypeDeletion: in TEST_F()
/rocksdb-6.9/table/block_based/
Dblock.cc366 value_type != ValueType::kTypeDeletion && in SeekForGetImpl()
542 value_type == ValueType::kTypeDeletion || in ParseNextDataKey()
651 value_type == ValueType::kTypeDeletion || in DecodeCurrentValue()
/rocksdb-6.9/java/rocksjni/
Dwrite_batch_test.cc87 case ROCKSDB_NAMESPACE::kTypeDeletion: in Java_org_rocksdb_WriteBatchTest_getContents()
/rocksdb-6.9/utilities/write_batch_with_index/
Dwrite_batch_with_index_internal.cc54 case kTypeDeletion: in GetEntryFromDataOffset()
/rocksdb-6.9/table/plain/
Dplain_table_builder.cc174 if (internal_key.type == kTypeDeletion || in Add()
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_builder_test.cc50 if (ParseInternalKey(key, &parsed) && parsed.type == kTypeDeletion) { in CheckFileContents()
184 for (auto type : {kTypeValue, kTypeDeletion}) { in TEST_F()
Dcuckoo_table_builder.cc94 if (ikey.type != kTypeDeletion && ikey.type != kTypeValue) { in Add()

12