The root's level in the BTree is always set to 1.
This is caused by a bug in the method BTree.createNewRoot(), which is called
when a new root node is created due to a propagated split. Currently, the bug
seems to have no effects on the BTree operations.
The bug should be fixed by replacing this line:
ctx.interiorFrame.initBuffer((byte) (ctx.leafFrame.getLevel() + 1));
with this line:
ctx.interiorFrame.initBuffer((byte) (ctx.InteriorFrame.getLevel() + 1));
Original issue reported on code.google.com by salsuba...@gmail.com on 25 Jul 2012 at 4:09
Original issue reported on code.google.com by
salsuba...@gmail.com
on 25 Jul 2012 at 4:09