-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0.0
-
Component/s: None
-
Labels:None
couch_index_compactor doesn't hold the underlying DB shard open (e.g., via couch_db:open/2) during the switch from the compaction phase to the recompaction phase. This opens up a window during which the DB can be LRU-closed between the two, causing the compaction job to fail and all compaction progress to be lost, potentially losing hours' worth of work.