|
@ -375,7 +375,7 @@ class Compaction { |
|
|
// Each compaction reads inputs from "level_" and "level_+1" |
|
|
// Each compaction reads inputs from "level_" and "level_+1" |
|
|
std::vector<FileMetaData*> inputs_[2]; // The two sets of inputs |
|
|
std::vector<FileMetaData*> inputs_[2]; // The two sets of inputs |
|
|
|
|
|
|
|
|
// State used to check for number of of overlapping grandparent files |
|
|
|
|
|
|
|
|
// State used to check for number of overlapping grandparent files |
|
|
// (parent == level_ + 1, grandparent == level_ + 2) |
|
|
// (parent == level_ + 1, grandparent == level_ + 2) |
|
|
std::vector<FileMetaData*> grandparents_; |
|
|
std::vector<FileMetaData*> grandparents_; |
|
|
size_t grandparent_index_; // Index in grandparent_starts_ |
|
|
size_t grandparent_index_; // Index in grandparent_starts_ |
|
|