Open
Description
bustub/tools/bpm_bench/bpm_bench.cpp
Line 265 in d5f7943
If bustub_page_cnt is not divisible by get_thread_n, this line may cause two different threads getting the same page_id. As a result, bpm_bench may report "page seed not consistent", despite the fact that the buffer pool is implemented correctly. I have passed all the tests on gradescope, but bpm_bench fails once I change get_thread_n from 8 to 9.
Metadata
Metadata
Assignees
Labels
No labels