diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-12-11 15:24:14 -0500 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-12-11 15:24:14 -0500 |
commit | 42c05161cf8cc74606b259ceeeb41dd38ea7fb4e (patch) | |
tree | 3cbfd999b57afbf9f911d3a97f600a501488cce8 /src/txn | |
parent | 9b33b7c46a2672f36b9673d5e4cbc7315bc9ecf4 (diff) | |
download | mongo-42c05161cf8cc74606b259ceeeb41dd38ea7fb4e.tar.gz |
Use dhandle hash lists in more places. Adjust sweep timings. #1460
Diffstat (limited to 'src/txn')
-rw-r--r-- | src/txn/txn_ckpt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c index 15cce6eb098..dbe01ef02b1 100644 --- a/src/txn/txn_ckpt.c +++ b/src/txn/txn_ckpt.c @@ -411,7 +411,11 @@ __wt_txn_checkpoint(WT_SESSION_IMPL *session, const char *cfg[]) WT_ERR(__checkpoint_apply(session, cfg, __wt_checkpoint_sync)); /* Checkpoint the metadata file. */ - SLIST_FOREACH(dhandle, &conn->dhlh, l) { + SLIST_FOREACH(dhandle, &conn->dhhash[WT_METAFILE_BUCKET], l) { + /* + * On insert we make sure anything matching these conditions + * always uses the metafile bucket. + */ if (WT_IS_METADATA(dhandle) || !WT_PREFIX_MATCH(dhandle->name, "file:")) break; |