diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-07-01 11:52:09 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-07-01 11:52:09 -0400 |
commit | c1c1da20de7d4e2aa109b6b60028c3c9fd404e29 (patch) | |
tree | aafe18721c6f85afd123e4454f36774a0deccf76 /src/btree/bt_sync.c | |
parent | 85e26895795f79eeee637896436ba744c73ff839 (diff) | |
download | mongo-c1c1da20de7d4e2aa109b6b60028c3c9fd404e29.tar.gz |
Instead of tracking the tree's maximum transaction ID as part of the
checkpoint walk, track it whenever a page is successfully reconciled.
Diffstat (limited to 'src/btree/bt_sync.c')
-rw-r--r-- | src/btree/bt_sync.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/btree/bt_sync.c b/src/btree/bt_sync.c index 1b5c182577b..838d778dadf 100644 --- a/src/btree/bt_sync.c +++ b/src/btree/bt_sync.c @@ -109,17 +109,6 @@ __sync_file(WT_SESSION_IMPL *session, int syncop) /* Write all dirty in-cache pages. */ flags |= WT_READ_NO_EVICT; for (walk = NULL;;) { - /* - * If we have a page, and it was ever modified, track - * the highest transaction ID in the tree. We do this - * here because we want the value after reconciling - * dirty pages. - */ - if (walk != NULL && walk->page != NULL && - (mod = walk->page->modify) != NULL && - WT_TXNID_LT(btree->rec_max_txn, mod->rec_max_txn)) - btree->rec_max_txn = mod->rec_max_txn; - WT_ERR(__wt_tree_walk(session, &walk, NULL, flags)); if (walk == NULL) break; |