0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 21:08:57 +01:00

ircd::db: Fix propagation of column's compression type to compaction options.

This commit is contained in:
Jason Volk 2018-11-30 15:19:49 -08:00
parent ea0ad518ea
commit f9def72a89

View file

@ -8827,6 +8827,11 @@ ircd::db::compact(column &column,
continue;
rocksdb::CompactionOptions opts;
{
const rocksdb::ColumnFamilyOptions &copts(c);
opts.compression = copts.compression;
}
std::vector<std::string> files(level.files.size());
std::transform(level.files.begin(), level.files.end(), files.begin(), []
(auto &metadata)