Merge pull request #3813 from patricklodder/chore/restore_leveldb_subtree_integrity

Restore leveldb subtree integrity
This commit is contained in:
chromatic 2025-04-19 18:20:48 -07:00 committed by GitHub
commit e5829c5d55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -371,7 +371,7 @@ class Compaction {
// Each compaction reads inputs from "level_" and "level_+1"
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)
std::vector<FileMetaData*> grandparents_;
size_t grandparent_index_; // Index in grandparent_starts_