mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::db: Fix propagation of column's compression type to compaction options.
This commit is contained in:
parent
ea0ad518ea
commit
f9def72a89
1 changed files with 5 additions and 0 deletions
|
@ -8827,6 +8827,11 @@ ircd::db::compact(column &column,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
rocksdb::CompactionOptions opts;
|
rocksdb::CompactionOptions opts;
|
||||||
|
{
|
||||||
|
const rocksdb::ColumnFamilyOptions &copts(c);
|
||||||
|
opts.compression = copts.compression;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<std::string> files(level.files.size());
|
std::vector<std::string> files(level.files.size());
|
||||||
std::transform(level.files.begin(), level.files.end(), files.begin(), []
|
std::transform(level.files.begin(), level.files.end(), files.begin(), []
|
||||||
(auto &metadata)
|
(auto &metadata)
|
||||||
|
|
Loading…
Reference in a new issue