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 2019/03/06 13:54:57 UTC

[GitHub] [couchdb] garrensmith opened a new pull request #1970: Added more info for a mango sort error

garrensmith opened a new pull request #1970: Added more info for a mango sort error
URL: https://github.com/apache/couchdb/pull/1970
 
 
   ## Overview
   
   The mango sort error can be a bit confusing with using a partitioned
   database this gives a little more detail on why mango could not find
   a specific index when a sort is used.
   
   ## Testing recommendations
   
   Elixir and python mango tests should pass. Create a partitioned database, have a selector that has a sort in it:
   
   ```
   selector = %{
         selector: %{
           some: "field"
         },
         sort: ["some"],
         limit: 50
       }
   ```
   
   You should get back different errors depending on a normal database, partitioned database with a partitioned query or a global query on a partitioned database.
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] 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 to 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