commit | f6b69a925610ea0295e299a4186df43cd64cf75e | [log] [tgz] |
---|---|---|
author | Eric Avdey <eiri@eiri.ca> | Mon Aug 24 10:55:30 2015 -0300 |
committer | Eric Avdey <eiri@eiri.ca> | Mon Aug 24 10:55:30 2015 -0300 |
tree | febbffdd82d657a7f4c2018d3fa9aad640191f6f | |
parent | 6137c66fabb0f040b8b3c963cd8419fd4b91248b [diff] |
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