[ 
https://issues.apache.org/jira/browse/COUCHDB-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253782#comment-14253782
 ] 

ASF GitHub Bot commented on COUCHDB-2524:
-----------------------------------------

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 <iil...@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

----


> clearing out .delete directories in couch_server:init prevents boot of the 
> node
> -------------------------------------------------------------------------------
>
>                 Key: COUCHDB-2524
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2524
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: ILYA
>
> If .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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to