Skip to content

Bugs when setting a small page size #2

@DevidXu

Description

@DevidXu

Thanks for sharing at first! Here I want to point out a bug. When I change the PAGE_SIZE in src/include/common/config.h to some small value (like 96), the Random Test will fail.
cd build
make b_plus_tree_test
./test/b_plus_tree_test
When PAGE_SIZE is 96, the max size of leaf page is 4 and max size of internal page is 5. I rewrote this project inspired by your codes and can pass all test cases even with a small page size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions