You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/09/19 14:13:59 UTC
[GitHub] garrensmith opened a new pull request #1609: Mango match doc on
co-ordinating node
garrensmith opened a new pull request #1609: Mango match doc on co-ordinating node
URL: https://github.com/apache/couchdb/pull/1609
## Overview
This fixes an issue when doing a rolling upgrade of a CouchDB cluster
and adding commit a6bc72e the nodes that were not upgraded yet would
send through all the docs in the index and those would be passed through
to the user because the co-oridnator would assume it was matched at the
node level. This adds in a check to see if it has been matched at the
node level or not. And then performs a match if required.
## Testing recommendations
This is tricky to test. If you have nodes running an older version of CouchDB, this should stop unmatched docs from being returned to the user.
## Checklist
- [x] Code is written and works correctly;
- [ ] Changes are covered by tests;
- [ ] Documentation reflects the changes;
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services