Fixed bug in -- operator #78

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

consider a case where 1 follows (range 1 10000) and 2 follows (2 9999)
the difference should yield [1, 10000], but in the old code, it would just yield [10000], as the query would end prematurely in the (newPage.size == 0) condition.

In my test config, the max page size was 4000 (which would yield an identical page 2 for both queries, thereby terminating it early with the page.filter eliminating all the values in newPage).

Contributor

Thank you for your contribution! Twitter has decided to stop supporting FlockDB as an open source project. Sorry that your pull requests was not reviewed earlier.
We're now formally archiving this project but please feel free to fork and resurrect.

@grimreaper grimreaper closed this Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment