[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: |
|
||||||||
| 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: |
| Comment by Githook User [ 08/Dec/20 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |
| Comment by Githook User [ 07/Dec/20 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: (cherry picked from commit 267d28ce067bb213cff816c55bac0b5c1527d500) |
| Comment by Githook User [ 04/Dec/20 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |
| 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). |