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

[test]: Modify test_sst_build_all() to add checks for first_key and last_key of SST #76

Merged
merged 2 commits into from
May 25, 2024

Conversation

Gleiphir2769
Copy link
Contributor

Hi, when I implemented W1D5, I found that my code can not pass test_task2_storage_scan(). It is caused by wrong result returned by sst.first_key() and sst.last_key() because of my missing in SsTableBuilder.build()

I think it's better to add checks within test_sst_build_all() in week1_day4 so that we can ensure the correctness of the SST implementation. What do you think?

shenjiaqi.2769 and others added 2 commits April 17, 2024 22:13
Signed-off-by: Alex Chi <iskyzh@gmail.com>
@skyzh skyzh merged commit 2ba461b into skyzh:main May 25, 2024
1 check passed
darkjh pushed a commit to darkjh/mini-lsm that referenced this pull request Aug 13, 2024
…ast_key of SST (skyzh#76)

Signed-off-by: Alex Chi <iskyzh@gmail.com>
Co-authored-by: shenjiaqi.2769 <shenjiaqi.2769@bytedance.com>
Co-authored-by: Alex Chi <iskyzh@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants