From 099ad94306a31a7cac25a5b71b613361e4fe6088 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Fri, 28 Feb 2014 11:08:24 -0800 Subject: [PATCH] Set log number for column family --- db/version_set.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/db/version_set.cc b/db/version_set.cc index 2fcae240e..fd7098fad 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -2567,6 +2567,7 @@ ColumnFamilyData* VersionSet::CreateColumnFamily( AppendVersion(new_cfd, new Version(new_cfd, this, current_version_number_++)); new_cfd->CreateNewMemtable(); + new_cfd->SetLogNumber(edit->log_number_); delete new_cfd->InstallSuperVersion(new SuperVersion()); return new_cfd; }