[ https://issues.apache.org/jira/browse/COUCHDB-3028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323027#comment-15323027 ]
ILYA commented on COUCHDB-3028: ------------------------------- Should be fixed in https://github.com/apache/couchdb-couch-index/commit/e7d269800302224eacf9585f74eb30822495755b > Should hold db opened for compact/recompact switch > -------------------------------------------------- > > Key: COUCHDB-3028 > URL: https://issues.apache.org/jira/browse/COUCHDB-3028 > Project: CouchDB > Issue Type: Bug > Reporter: ILYA > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)