[
https://issues.apache.org/jira/browse/COUCHDB-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Randall Leeds updated COUCHDB-780:
----------------------------------
Attachment: async_compact_delete.patch
Instead of just deleting the old .couch file and then renaming the .compact
file, move the .couch file out the way and delete it asynchronously. This patch
should prevent slow deletion of huge files for filesystems using indirect
blocks (like ext3) from blocking the updater process.
> Don't block the updater process while compaction deletes old files
> ------------------------------------------------------------------
>
> Key: COUCHDB-780
> URL: https://issues.apache.org/jira/browse/COUCHDB-780
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Affects Versions: 0.10.2, 0.11
> Reporter: Randall Leeds
> Fix For: 0.10.3, 0.11.1, 0.12
>
> Attachments: async_compact_delete.patch
>
>
> I have what I think is a simple patch I'll attach. I don't see any reason not
> to include it unless rename operations can be seriously slow on some
> filesystems (but I expect this is not the case).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.