types: add kEntryBlobIndex for TablePropertiesCollector (#4233)

Summary:
So that we can act accordingly on blob index entries
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4233

Differential Revision: D9190205

Pulled By: yiwu-arbug

fbshipit-source-id: e5b84d5b41e44fa7a76762f1f7b0305369bb3a0c
main
Huachao Huang 6 years ago committed by Facebook Github Bot
parent c970358574
commit badfd70a3e
  1. 2
      db/dbformat.cc
  2. 1
      include/rocksdb/types.h

@ -48,6 +48,8 @@ EntryType GetEntryType(ValueType value_type) {
return kEntryMerge; return kEntryMerge;
case kTypeRangeDeletion: case kTypeRangeDeletion:
return kEntryRangeDeletion; return kEntryRangeDeletion;
case kTypeBlobIndex:
return kEntryBlobIndex;
default: default:
return kEntryOther; return kEntryOther;
} }

@ -23,6 +23,7 @@ enum EntryType {
kEntrySingleDelete, kEntrySingleDelete,
kEntryMerge, kEntryMerge,
kEntryRangeDeletion, kEntryRangeDeletion,
kEntryBlobIndex,
kEntryOther, kEntryOther,
}; };

Loading…
Cancel
Save