summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_dhandle.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2021-01-28 15:53:37 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-28 05:36:46 +0000
commitaa82d9d6767d0d20f439f77e05ea8becff52a956 (patch)
treeb886d7a232d85f3c69dc764a0aa2e6c98a8d254d /src/third_party/wiredtiger/src/conn/conn_dhandle.c
parent35a6a97338930d75a7f5cfd89671ae9af65aaf85 (diff)
downloadmongo-aa82d9d6767d0d20f439f77e05ea8becff52a956.tar.gz
Import wiredtiger: 31c33f582f6f1700da48f278c28ae909a56aba9b from branch mongodb-5.0
ref: 462a8434b5..31c33f582f for: 4.9.0 WT-6430 Move WT_CONN_SERVER flags into their own field Reverted ticket(s): WT-6673 Rollback to stable to fix the inconsistent checkpoint by removing updates outside of the checkpoint snapshot
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_dhandle.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_dhandle.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_dhandle.c b/src/third_party/wiredtiger/src/conn/conn_dhandle.c
index 7d8e4bdb8db..b9302ccb602 100644
--- a/src/third_party/wiredtiger/src/conn/conn_dhandle.c
+++ b/src/third_party/wiredtiger/src/conn/conn_dhandle.c
@@ -917,37 +917,6 @@ restart:
}
/*
- * __wt_dhandle_update_write_gens --
- * Update the open dhandles write generation, run write generation and base write generation
- * number.
- */
-void
-__wt_dhandle_update_write_gens(WT_SESSION_IMPL *session)
-{
- WT_BTREE *btree;
- WT_CONNECTION_IMPL *conn;
- WT_DATA_HANDLE *dhandle;
-
- conn = S2C(session);
-
- for (dhandle = NULL;;) {
- WT_WITH_HANDLE_LIST_WRITE_LOCK(session, WT_DHANDLE_NEXT(session, dhandle, &conn->dhqh, q));
- if (dhandle == NULL)
- break;
- btree = (WT_BTREE *)dhandle->handle;
-
- WT_ASSERT(session, btree != NULL);
-
- /*
- * Initialize the btree write generation numbers after rollback to stable so that the
- * transaction ids of the pages will be reset when loaded from disk to memory.
- */
- btree->write_gen = btree->base_write_gen = btree->run_write_gen =
- WT_MAX(btree->write_gen, conn->base_write_gen);
- }
-}
-
-/*
* __wt_verbose_dump_handles --
* Dump information about all data handles.
*/