[
https://issues.apache.org/jira/browse/COUCHDB-3220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629624#comment-15629624
]
ASF GitHub Bot commented on COUCHDB-3220:
-----------------------------------------
GitHub user mayya-sharipova opened a pull request:
https://github.com/apache/couchdb-chttpd/pull/148
handle timeout in _revs_diff
when fabric workers timeout,
fabric:get_missing_revs returns {error,timeout}
this handles timeout errors
COUCHDB-3220
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-chttpd
60532-handle-timeout_revs_diff
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-chttpd/pull/148.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 #148
----
commit 72e1271da26b94d7e2967128e9b2a3605c1d28cc
Author: Mayya Sharipova <[email protected]>
Date: 2016-11-02T16:40:48Z
handle timeout in _revs_diff
when fabric workers timeout,
fabric:get_missing_revs returns {error,timeout}
this handles timeout errors
COUCHDB-3220
----
> handle timeout in _revs_diff
> ----------------------------
>
> Key: COUCHDB-3220
> URL: https://issues.apache.org/jira/browse/COUCHDB-3220
> Project: CouchDB
> Issue Type: Bug
> Reporter: Mayya Sharipova
> Priority: Minor
>
> Currently chhtpd_db
> db_req(#httpd{method='POST',path_parts=[_,<<"_revs_diff">>]}.. does't handle
> a case where fabric:get_missing_revs returns {error, timeout}, producing an
> error: badmatch, reason:{error,timeout} ..<<"chttpd_db:db_req/2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)