Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs when setting a small page size #2

Open
DevidXu opened this issue Feb 16, 2019 · 1 comment
Open

Bugs when setting a small page size #2

DevidXu opened this issue Feb 16, 2019 · 1 comment

Comments

@DevidXu
Copy link

DevidXu commented Feb 16, 2019

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.

@xingdl2007
Copy link
Owner

Thanks for pointing it out, I will check it soon

Sent with GitHawk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants