Set log number for column family
This commit is contained in:
parent
510f84b686
commit
099ad94306
@ -2567,6 +2567,7 @@ ColumnFamilyData* VersionSet::CreateColumnFamily(
|
|||||||
|
|
||||||
AppendVersion(new_cfd, new Version(new_cfd, this, current_version_number_++));
|
AppendVersion(new_cfd, new Version(new_cfd, this, current_version_number_++));
|
||||||
new_cfd->CreateNewMemtable();
|
new_cfd->CreateNewMemtable();
|
||||||
|
new_cfd->SetLogNumber(edit->log_number_);
|
||||||
delete new_cfd->InstallSuperVersion(new SuperVersion());
|
delete new_cfd->InstallSuperVersion(new SuperVersion());
|
||||||
return new_cfd;
|
return new_cfd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user