Explorar el Código

report update again

main
李畅 hace 2 semanas
padre
commit
47343f975b
Se han modificado 3 ficheros con 4 adiciones y 3 borrados
  1. +2
    -2
      README.md
  2. +1
    -0
      db/version_set.cc
  3. +1
    -1
      db/version_set.h

+ 2
- 2
README.md Ver fichero

@ -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 Ver fichero

@ -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 Ver fichero

@ -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);

Cargando…
Cancelar
Guardar