-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
8
-
StorEng - Defined Pipeline, TheMoon-StorEng - 2023-09-19
In WT-8003, thisĀ comment shows that a page with a single entry was created which is not supposed to happen when other pages with many entries exist. They should all have a similar number of entries
alexander.gorrod@mongodb.com pointed out in this comment we should have some code in reconciliation that should avoid creating a page with a single entry, see __rec_split_finish_process_prev.
The branch wt-8003-duplicate-cpp-test-repro-skewed can be used to reproduce the issue:
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/mongodbtoolchain_v4_gcc.cmake -G Ninja ../. && ninja cd test/cppsuite ./csuite_style_example_test > out.txt // The last lines correspond to how many times a key is hit by the random cursor. cd ../../ ./wt -r -h test/cppsuite/WT_TEST_csuite_style_example_test -r verify -u -d dump_pages file:my_collection.wt > dump.txt
In the dump.txt file, you should observe the last row-store leaf containing one or a few values. They should be the most hit keys as shown in out.txt.
- is related to
-
WT-8003 Fix frequent duplicate keys returned by random cursor in resharding test
- Closed