[SERVER-51858] Investigate queryable issue on 4.0.20 Created: 28/Oct/20  Updated: 29/Oct/23  Resolved: 04/Dec/20

Status: Closed
Project: Core Server
Component/s: Security, Storage
Affects Version/s: 4.0.20
Fix Version/s: 4.9.0, 4.0.22, 4.4.3, 4.2.12

Type: Task Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Security 2020-12-14
Participants:

 Comments   
Comment by Githook User [ 08/Dec/20 ]

Author:

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

Message: SERVER-51858 Fix curl locking
Branch: v4.2
https://github.com/mongodb/mongo/commit/f6824598636d5a5323f58baf97513c7b8c37ebd0

Comment by Githook User [ 08/Dec/20 ]

Author:

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

Message: SERVER-51858 Fix curl locking
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/180ee403ea3827a063dc686cc7fcc3fed66be0eb

Comment by Githook User [ 07/Dec/20 ]

Author:

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

Message: SERVER-51858 Fix curl locking

(cherry picked from commit 267d28ce067bb213cff816c55bac0b5c1527d500)
Branch: v4.4
https://github.com/mongodb/mongo/commit/75d11df6d2cb301a6e201282b1fc4629621cce72

Comment by Githook User [ 04/Dec/20 ]

Author:

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

Message: SERVER-51858 Fix curl locking
Branch: master
https://github.com/mongodb/mongo/commit/267d28ce067bb213cff816c55bac0b5c1527d500

Comment by Mark Benvenuto [ 02/Dec/20 ]

Code Review URL: https://mongodbcr.appspot.com/722600001/

Comment by Mark Benvenuto [ 25/Nov/20 ]

While the libcurl documentation warns about curl_easy_init, it is with regards to relying on its lazy initialization of the global state in a multithreaded environment. Today, we call curl_global_init as part of a static initializer (https://github.com/mongodb/mongo/blob/master/src/mongo/util/net/http_client_curl.cpp#L93-L111). This is the advised way of initializing libcurl (under GLOBAL_CONSTANTS in https://curl.se/libcurl/c/libcurl.html).

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