summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2021-05-04 16:46:16 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-04 07:11:56 +0000
commit54fe37a42a34725ff6192117686e4c797d7176f3 (patch)
treefc84530a97020f65612d7f390556362f9530c0c5
parent93641f442e33eb76ae3833dbc894e22326c044e5 (diff)
downloadmongo-54fe37a42a34725ff6192117686e4c797d7176f3.tar.gz
Import wiredtiger: 87c819c15a2bc52ac5b949a7ffe0b84e8b68ebcf from branch mongodb-5.0
ref: 02f4d1d902..87c819c15a for: 5.0.0 WT-7191 Use of hash city over hash fnv
-rw-r--r--src/third_party/wiredtiger/import.data2
-rw-r--r--src/third_party/wiredtiger/src/reconcile/rec_dictionary.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data
index accf6256d5e..ec33577edd3 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-5.0",
- "commit": "02f4d1d902131e2a6fd5bf680566db35d8c3a8bf"
+ "commit": "87c819c15a2bc52ac5b949a7ffe0b84e8b68ebcf"
}
diff --git a/src/third_party/wiredtiger/src/reconcile/rec_dictionary.c b/src/third_party/wiredtiger/src/reconcile/rec_dictionary.c
index 93c748e54bc..2e6c6f832f6 100644
--- a/src/third_party/wiredtiger/src/reconcile/rec_dictionary.c
+++ b/src/third_party/wiredtiger/src/reconcile/rec_dictionary.c
@@ -156,7 +156,7 @@ __wt_rec_dictionary_lookup(
*dpp = NULL;
/* Search the dictionary, and return any match we find. */
- hash = __wt_hash_fnv64(val->buf.data, val->buf.size);
+ hash = __wt_hash_city64(val->buf.data, val->buf.size);
for (dp = __rec_dictionary_skip_search(r->dictionary_head, hash);
dp != NULL && dp->hash == hash; dp = dp->next[0]) {
WT_RET(