-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
3
-
Storage - Ra 2020-11-30
History store update search (__wt_hs_upd_find) can wrongly return WT_NOTFOUND due to an unused local variable.
if (ret == 0) { /* Couldn't find a record. */ if (upd == NULL) { ret = WT_NOTFOUND; WT_STAT_CONN_INCR(session, cache_hs_read_miss); WT_STAT_DATA_INCR(session, cache_hs_read_miss); } else { WT_STAT_CONN_INCR(session, cache_hs_read); WT_STAT_DATA_INCR(session, cache_hs_read); } }
Here upd is initialized to NULL and never assigned apart from being used as a temporary variable when freeing the remaining modify updates.
- is depended on by
-
WT-6504 Don't fallback to onpage value as base value if we see the onpage value in the history store
- Closed