rnewson opened a new pull request #3754:
URL: https://github.com/apache/couchdb/pull/3754
## Overview
Restrict the limit=0 clause to the sorted=false case as originally
intended
The limit=0 clause was introduced in commit 4e0c97bf which added
sorted=false support. It accidentally matches when the user specifies
limit=0 and causes us not to apply the logic that ensures we collect a
{meta, Meta} message from each shard range and then send the
total_rows and offset fields.
## Testing recommendations
repro steps described in https://github.com/apache/couchdb/issues/3750
## Related Issues or Pull Requests
https://github.com/apache/couchdb/issues/3750
## Checklist
- [x] Code is written and works correctly
- [ ] Changes are covered by tests
- [ ] Any new configurable parameters are documented in
`rel/overlay/etc/default.ini`
- [ ] A PR for documentation changes has been made in
https://github.com/apache/couchdb-documentation
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]