GitHub user tonysun83 opened a pull request:

    https://github.com/apache/couchdb-chttpd/pull/154

    Add Error Clause  For fabric:open_revs calls

    We currently don't have error clauses when calling fabric:open_revs. This 
PR adds these clauses in the general case and also introduces a new 503 
response for https://github.com/apache/couchdb-fabric/pull/86.

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

    $ git pull https://github.com/cloudant/couchdb-chttpd 
68661-no-workers-available

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

    https://github.com/apache/couchdb-chttpd/pull/154.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 #154
    
----
commit cd4c5c70c146e74a344b42e7e636e8e81f08495c
Author: Tony Sun <tony....@cloudant.com>
Date:   2017-02-01T21:14:42Z

    Handle error return clauses for fabric:open_revs
    
    When calling fabric:open_revs, we don't account for situations where
    the function returns an {error, any()} value as specified by the
    function specification. This will account for errors thrown.
    
    COUCHDB-3289

commit 2d417615758c6d9ba9dd72d0aa558fcfb229bea1
Author: Tony Sun <tony....@cloudant.com>
Date:   2017-02-01T21:23:26Z

    Introduce 503 error when nodes are all unavailable.
    
    In rare situations when all nodes are down or in maintenance mode and
    no workers can service a request, we return a 503 to the user.
    
    COUCHDB-3289

commit 3743ff6b1a1b3f32421c5d6e5e9e59e696dae8d9
Author: Tony Sun <tony....@cloudant.com>
Date:   2017-02-02T16:03:34Z

    Add test for open evs error
    
    COUCHDB-3289

----


---
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