GitHub user sagelywizard opened a pull request:

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

    Set proper rev for processed deleted doc

    View changes needs to return the "winning" rev to the client. With
    default style, it does this by looking up the rev in the seq tree. Prior
    to this commit, when a document was being deleted, the default rev (ie.
    {0, []}) would be added to the seq tree. This commit fixes the problem
    by manually setting the proper rev in the deleted #doc record before
    it's processed.

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

    $ git pull https://github.com/sagelywizard/couchdb-couch-index 
view-changes-windsor

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

    https://github.com/apache/couchdb-couch-index/pull/1.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 #1
    
----
commit bc95b4561d4e4fe3487df2c1620f0744dae5d77e
Author: Benjamin Bastian <[email protected]>
Date:   2014-09-11T20:37:13Z

    Set proper rev for processed deleted doc
    
    View changes needs to return the "winning" rev to the client. With
    default style, it does this by looking up the rev in the seq tree. Prior
    to this commit, when a document was being deleted, the default rev (ie.
    {0, []}) would be added to the seq tree. This commit fixes the problem
    by manually setting the proper rev in the deleted #doc record before
    it's processed.

----


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