[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: |
|
||||||||||||
| 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: |