GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch/pull/161
Extend rename_on_delete behaviour on compaction and view files
This change makes compaction files to stay in `.deleted` directory in case
config parameter `rename_on_delete` is set and renames them in fashion, that
makes it easier to restore them if necessary.
Also `rename_on_delete` behaviour extended on the views, with renaming ddoc
directories of the deleted databases, rather than removing them.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch
61028-fix-rename-on-delete
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/161.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #161
----
commit 95f5200ca6bb62eec2e7479f3385e2f05f3b8128
Author: Eric Avdey <[email protected]>
Date: 2016-04-08T17:04:54Z
Keep compaction files when rename_on_delete is enabled
commit 2639b2535f7d937bee8b551952afc19cb6f229d1
Author: Eric Avdey <[email protected]>
Date: 2016-04-08T18:13:36Z
Extend rename_on_delete behaviour on the views
commit 95754a381289e110bcf3c9e2a22d6ae0a033a4d1
Author: Eric Avdey <[email protected]>
Date: 2016-04-08T18:35:01Z
Explicitly update mtime of renamed on delete files
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---