commit | 9e0cb35709a4bab1efbcf507127dd36f47bb53d9 | [log] [tgz] |
---|---|---|
author | Eric Avdey <eiri@eiri.ca> | Fri Apr 22 14:36:45 2016 -0300 |
committer | Eric Avdey <eiri@eiri.ca> | Thu Apr 28 13:09:35 2016 -0300 |
tree | 4e3f2b360fe31500b0722a566fec2f899bfae492 | |
parent | 5be695824a757f7c88fa2684b6e4ea6aa29bc625 [diff] |
Add `delete_after_rename` config parameter This config parameter allows to specify if the compaction files must to be deleted right after compaction finished or we want to pospond this until the database restart. If latter, the files will be kept in ".delete" directory renamed to random uuids to avoid collision and cleaned up during a database start in `couch_file:init_delete_dir/1` call.