|
@ -83,7 +83,7 @@ class VersionEdit { |
|
|
private: |
|
|
private: |
|
|
friend class VersionSet; |
|
|
friend class VersionSet; |
|
|
|
|
|
|
|
|
typedef std::set<std::pair<int, uint64_t> > DeletedFileSet; |
|
|
|
|
|
|
|
|
typedef std::set<std::pair<int, uint64_t>> DeletedFileSet; |
|
|
|
|
|
|
|
|
std::string comparator_; |
|
|
std::string comparator_; |
|
|
uint64_t log_number_; |
|
|
uint64_t log_number_; |
|
@ -96,9 +96,9 @@ class VersionEdit { |
|
|
bool has_next_file_number_; |
|
|
bool has_next_file_number_; |
|
|
bool has_last_sequence_; |
|
|
bool has_last_sequence_; |
|
|
|
|
|
|
|
|
std::vector<std::pair<int, InternalKey> > compact_pointers_; |
|
|
|
|
|
|
|
|
std::vector<std::pair<int, InternalKey>> compact_pointers_; |
|
|
DeletedFileSet deleted_files_; |
|
|
DeletedFileSet deleted_files_; |
|
|
std::vector<std::pair<int, FileMetaData> > new_files_; |
|
|
|
|
|
|
|
|
std::vector<std::pair<int, FileMetaData>> new_files_; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
} // namespace leveldb |
|
|
} // namespace leveldb |
|
|