couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1137) add delete options for controlling file deletion
Date Sat, 23 Apr 2011 01:00:11 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023477#comment-13023477
] 

Randall Leeds commented on COUCHDB-1137:
----------------------------------------

Tests forthcoming in separate patch.

> 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

Mime
View raw message