-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Engines, Storage Engines - Foundations
-
SE Foundations - 2025-07-18
-
3
As part of the changes in WT-13310, several function names related to random number initialisation were updated (in rand.c). While it was correct to replace some instances of __wt_random_init with __wt_random_init_default, it appears that __wt_random_init_seed was also mistakenly replaced with __wt_random_init_default in certain places.
This leads to an issue, __wt_random_init_default uses a constant seed, which means we’re now generating predictable and identical random sequences in areas where randomness and variability were expected.
Action Items:
- Audit changes from
WT-13310involving random initialisation functions. - Revert or correct instances where __wt_random_init_seed was mistakenly replaced.
- Ensure the proper function is used:
- Use __wt_random_init_default only when a constant seed is desired.
- Use __wt_random_init_seed when test variability is required.