[SERVER-77701] Replace MurmurHash3 with absl::Hash if possible in ResourceId::hashStringData Created: 01/Jun/23  Updated: 29/Oct/23  Resolved: 25/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Miquel Munoz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution EMEA Team 2023-08-07, Execution EMEA Team 2023-08-21, Execution EMEA Team 2023-09-04
Participants:

 Description   

MurmurHash3 is a pretty old hash function that's slow and produces low-quality hashes compared to modern alternatives like absl::Hash (CityHash). We want to replace any uses of MurmurHash3 which are for in-memory use only, as we expect this to yield quick perf wins. Hash values that are persisted to disk across restarts or sent across the network between servers are likely unsafe to change, and should be annotated with a clear explanation for why the usage requires a stable hash computation.



 Comments   
Comment by Githook User [ 25/Aug/23 ]

Author:

{'name': 'Miquel Munoz', 'email': 'miquelmunozz@gmail.com', 'username': 'mimugara'}

Message: SERVER-77701 Replace MurmurHash3 with absl::Hash if possible in ResourceId::hashStringData
Branch: master
https://github.com/mongodb/mongo/commit/b4ccbec09c5a1eba5a9cbf2a25ee1347a9467ea8

Generated at Thu Feb 08 06:36:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.