GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch-index/pull/15
Use couch_server:delete_dir/2 on indexes reset
This change allows couch_index to respect `rename_on_delete` option by
using new couch_server's `delete_dir` function that renames ddoc directory
instead of nuking it in this case.
Companion PR for apache/couchdb-couch#141
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-index
refactor-rename_on_delete
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-index/pull/15.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 #15
----
commit f737356caaf59dbc9febeee3a3e04e93409d62d4
Author: Eric Avdey <[email protected]>
Date: 2016-03-08T23:10:51Z
Use couch_server:delete_dir/2 on indexes reset
----
---
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.
---