nickva opened a new pull request, #5536:
URL: https://github.com/apache/couchdb/pull/5536

   Previously we started the {min, max} accumulator as {0, ?RANGE_END} while it 
should have been `{?RANGE_END, 0}` so during the fold they'd be reduced to the 
actual min/max seen in the list of shards.
   
   Another bug was that the unit test was never run as it didn't end in `_` and 
it emitted test generators `?_assertEqual(...)` so make sure the test runs and 
add a few cases: empty list of shards and when range doesn't start or end at 
`0` or `?RANGE_END`.
   
   Thanks to @rnewson for finding the bug!
    


-- 
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]

Reply via email to