In __wt_btcur_prev(), instead of updating the cursor_prev_skip_lt_100 and cursor_prev_skip_ge_100 stats, we are incrementing the corresponding cursor_next stats:
if (total_skipped != 0) { if (total_skipped < 100) WT_STAT_CONN_DATA_INCR(session, cursor_next_skip_lt_100); else WT_STAT_CONN_DATA_INCR(session, cursor_next_skip_ge_100); } WT_STAT_CONN_DATA_INCRV(session, cursor_prev_skip_total, total_skipped);
- is caused by
-
WT-9638 Cursor total skipped less than 100 statistic is misleading
- Closed