GitHub user willholley opened a pull request:

    https://github.com/apache/couchdb-fabric/pull/81

    Include conflicts parameter in doc_options

    When a keys array is passed to _all_docs, fabric translates this
    to individual open_doc calls. The conflicts=true query parameter is
    specified as a view-level option and is not, by default, parsed as
    an option that should be passed to open_doc.
    
    As a workaround, explicitly copy the view-level conflict parameter into
    the document options before open_doc is called.
    
    An alternative approach would be to address this when the query
    parameters are parsed, setting conflicts=true in both #mrargs and
    detail of fabric, I elected to make the change here instead.
    
    Fixes #COUCHDB-3264

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

    $ git pull https://github.com/willholley/couchdb-fabric 
3264-alldocs-keys-conflicts

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

    https://github.com/apache/couchdb-fabric/pull/81.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 #81
    
----
commit 22f6a3e7d58548b156a01f7321a41ae8aea739ec
Author: Will Holley <willhol...@gmail.com>
Date:   2017-01-03T09:54:30Z

    Include conflicts parameter in doc_options
    
    When a keys array is passed to _all_docs, fabric translates this
    to individual open_doc calls. The conflicts=true query parameter is
    specified as a view-level option and is not, by default, parsed as
    an option that should be passed to open_doc.
    
    As a workaround, explicitly copy the view-level conflict parameter into
    the document options before open_doc is called.
    
    An alternative approach would be to address this when the query
    parameters are parsed, setting conflicts=true in both #mrargs and
    detail of fabric, I elected to make the change here instead.
    
    Fixes #COUCHDB-3264

----


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