You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by sagelywizard <gi...@git.apache.org> on 2014/09/11 22:43:43 UTC
[GitHub] couchdb-couch-index pull request: Set proper rev for processed del...
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 <be...@gmail.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-couch-index pull request: Set proper rev for processed del...
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-couch-index/pull/1#issuecomment-150923574
+1
@rnewson ?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---