mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-25 09:33:15 +00:00
27bc0ef095e76ca65f2c67629b902a970786ee0d
The tests for the various page range intersections were out of order. The edge overlap case could trigger before the bisection case and we'd fail to remove the initial items in the page. That would leave items before the start key which would later be used as a midpoint for a split, causing all kinds of chaos. Rework the cases so that the overlap cases are last. The unique bisect case will be caught before we can mistake it for an edge overlap case. And minimize the number of comparisons we calculate by storing the handful that all the cases need. Signed-off-by: Zach Brown <zab@versity.com>
Description
No description provided
6.9 MiB
Languages
C
86.3%
Shell
10%
Roff
2.5%
TeX
0.8%
Makefile
0.4%