[
https://issues.apache.org/jira/browse/COUCHDB-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Randall Leeds updated COUCHDB-1137:
-----------------------------------
Attachment: delete_options.patch
Patch add delete options. Currently just async and nodelete. nodelete might be
a confusing name. I'm open to better suggestions.
> add delete options for controlling file deletion
> ------------------------------------------------
>
> Key: COUCHDB-1137
> URL: https://issues.apache.org/jira/browse/COUCHDB-1137
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Affects Versions: 1.0.2
> Reporter: Randall Leeds
> Priority: Minor
> Attachments: delete_options.patch, respect_del_opts_on_db_init.patch
>
>
> Even after switching to an extents-based filesystem I've noticed that
> deleting files after compaction can sometimes be terribly painful and slow.
> Additionally, deleting large pre-compact database and view files places extra
> load on the server that may be best kept to off hours. These sorts of large
> databases might be impossible to run a complete compact cycle on in short
> time. I'm suggesting we add an option to allow couch to leave files to be
> deleted in the .delete directories so administrators can delete them at their
> leisure (presumably at off hours or with a tool like ionice).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira