[SERVER-70803] Initialize ICU USPrep code during startup Created: 24/Oct/22  Updated: 29/Oct/23  Resolved: 27/Oct/22

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

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: tsan
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-76813 Fix --use-system-icu Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2022-10-31
Participants:
Linked BF Score: 38

 Description   

To avoid a thread sanitizer race condition in the ICU USPrep cache code, call the USPrep code during a mongodb initializer. Since mongo initializers run before other threads start, there will therefore be no race condition later when the data is simply read by the new threads.



 Comments   
Comment by Githook User [ 26/Oct/22 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-70803 Initialize ICU USPrep code during startup
Branch: master
https://github.com/mongodb/mongo/commit/7f189caabddf712b5165f76989619c5c367000c2

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