couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iilyak <...@git.apache.org>
Subject [GitHub] couchdb-couch pull request: Modify init_delete_dir to be async
Date Fri, 19 Dec 2014 18:51:25 GMT
GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-couch/pull/27

    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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/iilyak/couchdb-couch 2524-cleanup-delete-on-init

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/27.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 #27
    
----
commit a14ecb1cb8439b00a69604ead6e7eff3bd2686ee
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Date:   2014-12-19T18:44:35Z

    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

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message