Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.