GitHub user jaydoane opened a pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/58

    Retry failures in couch_mrview_compactor:recompact

    Currently, if there's an error in the spawned couch_index_updater:update
    process, the receive block will not match the message, and the calling
    process will block forever.
    
    This commit changes the receive pattern to match both successful updates
    as well as errors, logging the errors, and retrying the recompact a
    configurable number of times. If the configured retry count is exceeded,
    it logs an error, and returns the original state.
    
    COUCHDB-3184

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

    $ git pull https://github.com/cloudant/couchdb-couch-mrview 
3184-retry-recompact-failure

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

    https://github.com/apache/couchdb-couch-mrview/pull/58.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 #58
    
----
commit 1d5c6a5d92977308fd94b2b8f43463b9f2bdac71
Author: Jay Doane <jay.s.do...@gmail.com>
Date:   2016-10-07T20:04:13Z

    Retry failures in couch_mrview_compactor:recompact
    
    Currently, if there's an error in the spawned couch_index_updater:update
    process, the receive block will not match the message, and the calling
    process will block forever.
    
    This commit changes the receive pattern to match both successful updates
    as well as errors, logging the errors, and retrying the recompact a
    configurable number of times. If the configured retry count is exceeded,
    it logs an error, and returns the original state.
    
    COUCHDB-3184

----


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

Reply via email to