## 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; [ Full content available at: https://github.com/apache/couchdb/pull/1609 ] This message was relayed via gitbox.apache.org for [email protected]
