-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
3
-
2023-02-23 "Stoney Baloney", 2023-03-21 Ellen Ripley
daniel.gomezferro@mongodb.com made a good point that in __cursor_skip_prev, we can change this code
/*
* It is possible that we read an old value that is inconsistent to the higher levels of
* the skip list due to CPU read reordering. Add a read barrier to avoid this issue.
*/
WT_ORDERED_READ(cbt->next_stack[i], ins->next[i]);
to cbt->next_stack[i] = next_ins;
It saves us a read barrier.
- is related to
-
WT-10624 Fix regression on x86 for search and insert
- Closed