apache/couchdb-couch — pull request #27 by iilyak (2014-12-19 18:51:03+00:00)
Title: Modify init_delete_dir to be async

In the case when .delete directory contains lots of files.
The deletion of the directory leads to timeout in the supervisor.
Which in it's turn kills the node.
So we rename original directory so couchdb cannot find it.
Then we remove files from renamed directory asynchronously.

COUCHDB-2524