commit | 013be0be490157253ac52612c10b77cd347a9801 | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Mon May 30 15:16:02 2016 -0700 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Thu Jun 02 14:50:50 2016 -0700 |
tree | f054f191352617bbb62e48dec5e3fdd6b4c474c6 | |
parent | aa8e6f9573a2dd04bf5a1a98576b1809e1a68035 [diff] |
Hold db opened for compact/recompact switch couch_index_compactor should hold the underlying DB open during the switch from the compaction phase to the recompaction phase. Otherwise db could be LRU-closed while in bettwen the two. Which would cause the compaction job to fail possibly wasting hours of work.