[SERVER-33988] Use memory_order_acquire in Future wait loop Created: 19/Mar/18  Updated: 29/Oct/23  Resolved: 26/Mar/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2018-03-26
Participants:

 Description   

TSAN indicated that our assumption that the mutex locking to establish a synchronizes-with relationship was insufficient in some cases. Using memory_order_acquire on the load() is required.



 Comments   
Comment by Githook User [ 26/Mar/18 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-33988 Use memory_order_acquire in Future wait loop

TSAN indicated that our assumption that the mutex locking to establish a
synchronizes-with relationship was insufficient in some cases.
Branch: master
https://github.com/mongodb/mongo/commit/7f2d58817b5a8a2ae95de2df512a90d167301653

Generated at Thu Feb 08 04:35:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.