- Jun 14, 2023
-
-
Kevin Albertson authored
-
- Jun 07, 2023
-
-
Ezra Chung authored
Signed-off-by:Ezra Chung <ezra.chung@mongodb.com>
-
Jean-Marc Le Roux authored
* CDRIVER-4654 Fix missing aligned_alloc() on Android * chore: fix coding style Co-authored-by:
Ezra Chung <88335979+eramongodb@users.noreply.github.com> --------- Co-authored-by:
Jean-Marc Le Roux <jmlx@Enterprise-C> Co-authored-by:
Ezra Chung <88335979+eramongodb@users.noreply.github.com>
-
- May 17, 2023
-
-
Kevin Albertson authored
* add CSE Prose Test 16: Case 2 * return error if `provider` is not set when `master_key` is set * Simplify assertion of provider Co-authored-by:
Ezra Chung <88335979+eramongodb@users.noreply.github.com> * update commented test name to match specification * use empty doc for masterKey to match specification * use ASSERT_WITH_MSG * clarify in docs that current master key is used when provider is NULL --------- Co-authored-by:
Ezra Chung <88335979+eramongodb@users.noreply.github.com>
-
- May 10, 2023
-
-
Romain Geissler @ Amadeus authored
Avoids an unexpected crash with SIGBUS when trying to allocate a /dev/shm shared memory but there is not enough memory. Indeed ftruncate doesn't ensure memory is properly allocated, it ony changes the file size from the VFS point of view, but doesn't actually allocate any memory. So ftruncate might work despite we have no memory left, and later when trying to zero-memset the mmapped buffer, we might actually get a SIGBUS signal crashing the whole process. Instead, make sure we can allocate the whole shared memory using posix_fallocate and gracefully handle allocation problems, without crashing. The chromium project faced a similar issue in the past: https://bugs.chromium.org/p/chromium/issues/detail?id=951431
-
- May 08, 2023
-
-
Kevin Albertson authored
Signed-off-by:Kevin Albertson <kevin.albertson@mongodb.com>
-
- May 06, 2023
-
-
Andreas Braun authored
* CDRIVER-4635 add regression test * reset authentication state before creating stream * remove unnecessary state reset in `mongoc_topology_scanner_node_disconnect` `mongoc_topology_scanner_node_disconnect` sets `stream` to NULL. That will result in the stream being recreated and state being reset in `mongoc_topology_scanner_node_setup` * skip `/Client/authenticate_cached/client` when using speculativeAuthentication This previously passed because SCRAM would fail speculativeAuthentication and restart the authentication steps. The restart would use the SCRAM cache. Now speculativeAuthentication succeeds. speculativeAuthentication in the topology scanner does not use the SCRAM cache (refer: CDRIVER-3642). This does not result in the expected error. * Reset scram step along with speculative authentication --------- Co-authored-by:Kevin Albertson <kevin.albertson@mongodb.com>
-
- May 03, 2023
-
-
Kyle Kloberdanz authored
GCC 13 warns that `pool` may be used uninitialized. This is a false positive because pool will only be used in the case that it is initialized, but by initializing it to NULL we can avoid this warning.
-
- Apr 10, 2023
-
-
Kevin Albertson authored
* improve assertion * drop collection with writeConcern majority in `test_count_read_concern_live`
-
- Apr 05, 2023
-
-
vector-of-bool authored
Signed-off-by:vector-of-bool <vectorofbool@gmail.com>
-
- Mar 29, 2023
-
-
Kevin Albertson authored
-
- Mar 28, 2023
-
-
Kondaiah Valagonda authored
* CDRIVER-4593: Handle double type connectionId * use scopes in test_server_description_connection_id * use cleanup instead of reset * use ASSERT_CMPINT64 * add test for double --------- Co-authored-by:Kevin Albertson <kevin.albertson@mongodb.com>
-
Gil Alon authored
CDRIVER-4499 add bson_set_error to invalid types in handle hello
-
- Mar 02, 2023
-
-
Kevin Albertson authored
Update fle2-CreateCollection and fle2-EncryptedFields-vs-EncryptedFieldsMap with updated state collection names to 8f6f4a3a1841c0301ca057e96afca6f4f46711a2
-
- Jan 10, 2023
-
-
Jeroen Ooms authored
-
- Jan 03, 2023
-
-
Kevin Albertson authored
Signed-off-by:Kevin Albertson <kevin.albertson@mongodb.com>
-
Kyle Kloberdanz authored
Fix build on MacOS due to undeclared getpagesize CDRIVER-4505 It appears that getpagesize has been deprecated on newer MacOS versions. We can see that POSIX version 7 (link below) has removed getpagesize altogether from the standard, so even including unistd.h does not solve this problem on newer MacOS versions. Please see here at section B.3.2 System Interfaces Removed in the Previous Version: https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.html Relevant stackoverflow: https://stackoverflow.com/a/37193970 Jira: https://jira.mongodb.org/browse/CDRIVER-4505
-
- Dec 21, 2022
-
-
Kevin Albertson authored
The versions of OpenSSL tested on 2013, 2015, and 2017 are all 1.0.2s. The cause of failure is likely a host configuration issue. It is possibly related to BUILD-10841.
-
- Dec 20, 2022
-
-
Kevin Albertson authored
-
Kevin Albertson authored
-
- Dec 16, 2022
-
-
Kevin Albertson authored
Sync the tests updated in https://github.com/mongodb/specifications/commit/735a667672c758617821e3c5dda99c551e007375
-
- Oct 21, 2022
-
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
- Oct 20, 2022
-
-
vector-of-bool authored
-
- Oct 17, 2022
-
-
Andreas Braun authored
-
- Oct 05, 2022
-
-
Kevin Albertson authored
Fixes a NULL dereference when mongoc_collection_drop is called with a NULL bson_error_t for a Queryable Encryption collection
-
- Aug 31, 2022
-
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
Kevin Albertson authored
Signed-off-by:Kevin Albertson <kevin.albertson@mongodb.com>
-
Kevin Albertson authored
* Revert "Do not elide find_package() if MONGO_USE_CCACHE is set (#1031)" This reverts commit 237bcf8c. * Revert "Disable ccache by default for versions older than 3.4.3 (#1029)" This reverts commit f55cc6ab.
-
- Aug 27, 2022
-
-
Ezra Chung authored
-
Ezra Chung authored
* Sync download-mongodb.sh with drivers-evergreen-tools 8159c42f * Update zSeries RHEL server versions being tested
-
- Aug 16, 2022
-
-
Roberto C. Sánchez authored
-
- Aug 11, 2022
-
-
ii14 authored
* fix: _mongoc_get_cpu_count on android: get_nprocs is not available on Android below API level 23. * Always use sysconf for Linux Co-authored-by:
ii14 <ii14@users.noreply.github.com> Co-authored-by:
vector-of-bool <vectorofbool@gmail.com>
-
- Aug 10, 2022
-
-
Kevin Albertson authored
-
Ezra Chung authored
-
- Aug 09, 2022
-
-
Ezra Chung authored
-