willholley opened a new pull request #804: Mango invalid sort
URL: https://github.com/apache/couchdb/pull/804
 
 
   ## Overview
   
   Fixes a regression where a 500 status code was returned when  no index is 
available to service a _find query because the  sort order does not match any 
available indexes. This was actually a general issue with _find errors, 
introduced when index selection moved from `mango_cursor.erl` to 
`mango_idx.erl` in 
https://github.com/apache/couchdb-mango/commit/01252f971bef0c8da1d78bf5a7b506b71926ce1b.
   
   I a separate commit, I converted the index selection tests to use `unittest` 
assertion functions and addressed an issue with a duplicate test name.
   
   ## Testing recommendations
   
   <!-- Describe how we can test your changes.
        Does it provides any behaviour that the end users
        could notice? -->
   Changes covered by unit tests
   
   ## GitHub issue number
   
   <!-- If this is a significant change, please file a separate issue at:
        https://github.com/apache/couchdb/issues
        and include the number here and in commit message(s) using
        syntax like "Fixes #472" or "Fixes apache/couchdb#472".  -->
   
   ## Related Pull Requests
   
   <!-- If your changes affects multiple components in different
        repositories please put links to those pull requests here.  -->
   
   ## Checklist
   
   - [ ] 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:
[email protected]


With regards,
Apache Git Services

Reply via email to