[SERVER-39961] Update proxy scope to use two condvars Created: 05/Mar/19  Updated: 29/Oct/23  Resolved: 06/Mar/19

Status: Closed
Project: Core Server
Component/s: Internal Code, JavaScript
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Improvement Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2019-03-11
Participants:

 Description   

Our proxyscope type currently uses one condition variable to wait/notify from the caller and the callee threads. It's been pointed out that this may not be safe on older versions of glibc, as there used to be a different understanding of whether or not it was acceptable for a condvar notify to notify the thread which called notify (if it later called wait).

See http://austingroupbugs.net/view.php?id=609



 Comments   
Comment by Githook User [ 06/Mar/19 ]

Author:

{'name': 'Jason Carey', 'username': 'hanumantmk', 'email': 'jcarey@argv.me'}

Message: SERVER-39961 Update proxy scope to use two cvs

Our proxyscope type currently uses one condition variable to wait/notify
from the caller and the callee threads. It's been pointed out that this
may not be safe on older versions of glibc, as there used to be a
different understanding of whether or not it was acceptable for a
condvar notify to notify the thread which called notify (if it later
called wait).

See http://austingroupbugs.net/view.php?id=609
Branch: master
https://github.com/mongodb/mongo/commit/ef78ad0b398dbf4a891c18cd32881b12f91da794

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