GitHub user eiri opened a pull request:

    https://github.com/apache/couchdb-couch-index/pull/5

    Allow get_index to receive DDoc as a doc record

    The function `couch_mrview:compact/3` is passing to `get_index`
    a prepared #doc record, when `get_index` is expecting DDoc
    to be a ddoc's id. As a result view's compaction is crashing
    after `fabric:open_doc` call.
    
    This patch allows `get_index` to receive #doc record directly.
    
    This closes COUCH-2729

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

    $ git pull https://github.com/eiri/couchdb-couch-index 
2729-fix-view-compaction

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

    https://github.com/apache/couchdb-couch-index/pull/5.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 #5
    
----
commit 13fed1ed28976aa1ed3fc92d30336ea53d837894
Author: Eric Avdey <[email protected]>
Date:   2015-06-25T21:42:14Z

    Allow get_index to receive DDoc as a doc record
    
    The function `couch_mrview:compact/3` is passing to `get_index`
    a prepared #doc record, when `get_index` is expecting DDoc
    to be a ddoc's id. As a result view's compaction is crashing
    after `fabric:open_doc` call.
    
    This patch allows get_index to receive #doc record directly.
    
    This closes COUCH-2729

----


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

Reply via email to