GitHub user tonysun83 opened a pull request:
https://github.com/apache/couchdb-fabric/pull/88
Use RealReplyCount to distinguish worker replies and invalid docs
We use {ok, []} in couch_db:open_doc_revs_int/3 as a return value
when the document does not exist and open_revs=all. This leads to an
incorrect all_workers_died error. We use ReplyCount and RealReplyCount
to distinguish between when no workers were actually used in a reply
versus when the document does not exist
COUCHDB-3113
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-fabric
68661-separate-reply-count
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/88.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 #88
----
commit 70535eeb9b9c226129bdc96cbca8492fbc867cf6
Author: Tony Sun <[email protected]>
Date: 2017-02-10T19:23:07Z
Use RealReplyCount to distinguish worker replies and invalid docs
We use {ok, []} in couch_db:open_doc_revs_int/3 as a return value
when the document does not exist and open_revs=all. This leads to an
incorrect all_workers_died error. We use ReplyCount and RealReplyCount
to distinguish between when no workers were actually used in a reply
versus when the document does not exist
COUCHDB-3113
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---