mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-25 01:23:13 +00:00
8bf4c078df282bd54db4934ea37016c763d662ac
The algorithm for choosing the split key assumed that there were multiple items in the page. That wasn't always true and it could result in choosing the first item as the split key, which could end up decrementing the left page's end key before it's start key. We've since added compaction to the paths that split pages so we now guarantee that we have at least two items in the page being split. With that we can be sure to use the second item's key and ensure that we're never creating invalid keys for the pages created by the split. 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%