Browse Source

report update again

main
李畅 1 month ago
parent
commit
47343f975b
3 changed files with 4 additions and 3 deletions
  1. +2
    -2
      README.md
  2. +1
    -0
      db/version_set.cc
  3. +1
    -1
      db/version_set.h

+ 2
- 2
README.md View File

@ -1,6 +1,6 @@
<center><font size=7>在LevelDB中实现TTL功能</font></center>
# 在LevelDB中实现TTL功能
<center><font size=4>10225102463 李畅 10225101440 韩晨旭</font></center>
## 10225102463 李畅 10225101440 韩晨旭@ArcueidType
# 实验要求

+ 1
- 0
db/version_set.cc View File

@ -1477,6 +1477,7 @@ Compaction* VersionSet::CompactRange(int level, const InternalKey* begin,
c->input_version_ = current_;
c->input_version_->Ref();
c->inputs_[0] = inputs;
SetupOtherInputs(c);
return c;
}

+ 1
- 1
db/version_set.h View File

@ -286,7 +286,7 @@ class VersionSet {
const std::vector<FileMetaData*>& inputs2,
InternalKey* smallest, InternalKey* largest);
void SetupOtherInputs(Compaction* c);
void SetupOtherInputs(Compaction* c);
// Save current contents to *log
Status WriteSnapshot(log::Writer* log);

Loading…
Cancel
Save