Fix full compaction panic

Issuing a full compaction strategy did not appropriately attach
a compaction tracker which was later invoked causing a `SIGSEGV`.
pull/10616/head
Ben Johnson 2018-12-11 09:42:53 -07:00
parent f4de70d969
commit 43537fe8e6
No known key found for this signature in database
GPG Key ID: 81741CD251883081
1 changed files with 1 additions and 0 deletions

View File

@ -1554,6 +1554,7 @@ func (e *Engine) fullCompactionStrategy(group CompactionGroup, optimize bool) *c
fast: optimize,
engine: e,
level: 5,
tracker: e.compactionTracker,
}
if optimize {