You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by eiri <gi...@git.apache.org> on 2015/08/24 16:05:32 UTC

[GitHub] couchdb-couch pull request: Fix crashing filtered _changes request

GitHub user eiri opened a pull request:

    https://github.com/apache/couchdb-couch/pull/91

    Fix crashing filtered _changes request

    A filtered call to _changes end-point prompts a node to
    pull a peer from the received mochi request record.
    This is crashing on the secondary nodes in a clustered
    environment since the peer call made on a socket
    that is not original for them.
    
    The fix makes use of the fact that by the time of the request
    the peer already got resolved on the coordinator node and
    passed along as a part of #http record.
    
    This closes the case COUCHDB-2785

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

    $ git pull https://github.com/cloudant/couchdb-couch fix-filtered-changes

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

    https://github.com/apache/couchdb-couch/pull/91.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 #91
    
----
commit f6b69a925610ea0295e299a4186df43cd64cf75e
Author: Eric Avdey <ei...@eiri.ca>
Date:   2015-08-24T13:55:30Z

    Fix crashing filtered _changes request
    
    A filtered call to _changes end-point prompts a node to
    pull a peer from the received mochi request record.
    This is crashing on the secondary nodes in a clustered
    environment since the peer call made on a socket
    that is not original for them.
    
    The fix makes use of the fact that by the time of the request
    the peer already got resolved on the coordinator node and
    passed along as a part of #http record.
    
    This closes the case COUCHDB-2785

----


---
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 pull request: Fix crashing filtered _changes request

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-couch/pull/91


---
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 pull request: Fix crashing filtered _changes request

Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:

    https://github.com/apache/couchdb-couch/pull/91#issuecomment-134222366
  
    +1


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