Reduce compaction targets

Cmpaction is overly aggressive.  It is a lot of work to compact a run of
files for just 20% reduction in disk space, when disk space for the
Journal (i.e. low IOPS disk space should be relatively inexpensive).
Require at least a 40% reduction for a compaction job.
This commit is contained in:
martinsumner 2017-03-30 12:15:36 +01:00
parent 512af7f41a
commit 11ff3129f3
2 changed files with 42 additions and 42 deletions

View file

@ -897,7 +897,7 @@ compact_journal_test() ->
end end,
false,
CompactedManifest2),
?assertMatch(true, R),
?assertMatch(false, R),
?assertMatch(2, length(CompactedManifest2)),
ink_close(Ink1),
clean_testdir(RootPath).