diff options
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/history/hs_rec.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index a40c814a496..f65fce377ad 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-master", - "commit": "fc3f4b5a754a8abf30e920afb0d2769ff88b04c0" + "commit": "2aec3a457468b4ef3e2945c7d6c6291c7fe0cd5d" } diff --git a/src/third_party/wiredtiger/src/history/hs_rec.c b/src/third_party/wiredtiger/src/history/hs_rec.c index 0e7e6dd2e2e..8b78e203243 100644 --- a/src/third_party/wiredtiger/src/history/hs_rec.c +++ b/src/third_party/wiredtiger/src/history/hs_rec.c @@ -241,7 +241,6 @@ __hs_insert_record(WT_SESSION_IMPL *session, WT_CURSOR *cursor, WT_BTREE *btree, cursor->set_value( cursor, tw, tw->durable_stop_ts, tw->durable_start_ts, (uint64_t)type, hs_value); WT_ERR(cursor->insert(cursor)); - WT_STAT_CONN_DATA_INCR(session, cache_hs_insert); err: if (!hs_read_all_flag) @@ -774,6 +773,8 @@ err: WT_TRET(hs_cursor->close(hs_cursor)); + /* Update the statistics. */ + WT_STAT_CONN_DATA_INCRV(session, cache_hs_insert, insert_cnt); WT_STAT_CONN_DATA_INCRV(session, cache_hs_insert_full_update, cache_hs_insert_full_update); WT_STAT_CONN_DATA_INCRV( session, cache_hs_insert_reverse_modify, cache_hs_insert_reverse_modify); |