- Dec 28, 2022
-
-
bisht42 authored
-
- Dec 23, 2022
-
-
Kevin Albertson authored
* remove incorrect comment * wait for unacknowledge writes to apply in test_bulk_reply_w0 * use appName to isolate failpoint
-
- Dec 21, 2022
-
-
Kevin Albertson authored
-
Kevin Albertson authored
* remove unused USE_CRYPT_SHARED expansion * add SKIP_CRYPT_SHARED_LIB expansion * rename asan-ubuntu-without-csfle to asan-ubuntu-with-mongocryptd * sync download-mongodb.sh to 1d7119eeb531e7fab60423e803a94f4a2f61ec0f * remove GENERIC_LINUX_URL check It does not provide much value. Calling get_mongodb_download_url_for now errors if a download is unavailable. Alternatively, this check can be limited to server versions < 4.2.
-
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 17, 2022
-
-
Ezra Chung authored
-
- Dec 16, 2022
-
-
Ezra Chung authored
-
Kevin Albertson authored
Sync the tests updated in https://github.com/mongodb/specifications/commit/735a667672c758617821e3c5dda99c551e007375
-
- Dec 14, 2022
-
-
Ezra Chung authored
* CDRIVER-4537 Ensure stdout and stderr are flushed prior to abort * CDRIVER-4538 Use httpbin.org instead of example.com for /http tests
-
Ezra Chung authored
-
Ezra Chung authored
-
Kevin Albertson authored
* update supported platforms * Remove link to Evergreen Public access to Evergreen is planned for removal. See: "Update: Evergreen Auth Policy"
-
- Dec 10, 2022
-
-
Kevin Albertson authored
* set loadBalanced=true in URI if testing with load balancer * Update integration-tests.sh and orchestration configs * add LOAD_BALANCER to 'bootstrap mongo-orchestration' function * use /tmp/orchestration-home path This matches expectation of integration-tests.sh. * remove mongoc_global_mock_service_id This was only needed when MongoDB servers did not return a serviceId in the hello response. * update loadBalanced DNS tests Tests were updated in mongodb/specifications commit: 5d1b42a05017ba27ffdbe6fd068a45e93e5b68c5
-
- Dec 06, 2022
-
-
Kyle Kloberdanz authored
CDRIVER-4295 Implement snapshot query example number two for the manual. Related: DRIVERS-2181
-
Kevin Albertson authored
* CDRIVER-4528 Permit `tlsDisableOCSPEndpointCheck` in KMS TLS options * Use URI macro Co-authored-by:Ezra Chung <88335979+eramongodb@users.noreply.github.com>
-
- Dec 05, 2022
-
-
Ezra Chung authored
* Replace activate_venv.sh with hygienic alternatives * Workaround Python 3.10 default cipher suite incompatibility on Windows
-
- Dec 01, 2022
-
-
Jeremy Mikola authored
This include was inconsistent with all others in libmongoc. The path is necessary for compilation in Visual Studio when "src/libmongoc/src/libmongoc/src" is used as an include path. This was originally introduced in mongodb/mongo-c-driver@686bff81f565f93db83d99902ce1c3a6f89922c7
-
- Nov 29, 2022
-
-
Gil Alon authored
CDRIVER-4480: The only required change was adding a new prose test
-
- Nov 28, 2022
-
-
Kyle Kloberdanz authored
CDRIVER-4295
-
- Nov 17, 2022
-
-
Ezra Chung authored
-
- Nov 16, 2022
-
-
Gil Alon authored
-
Kyle Kloberdanz authored
CDRIVER-4295 related: DRIVERS-2181 Implement a snapshot query example for the manual. Co-authored-by:Kevin Albertson <kevin.albertson@10gen.com>
-
Gil Alon authored
-
- Nov 15, 2022
-
-
vector-of-bool authored
Also fixes: Not catching missing `encryptedFields` when attempting to create an encrypted collection
-
- Nov 12, 2022
-
-
Ezra Chung authored
* Move legacy retryable reads test files into legacy subdirectory * Move legacy retryable writes test files into legacy subdirectory * Sync unified retryable reads test files with 08230607 * Sync unified retryable writes test files with 08230607 * Sync unified transactions test files with 08230607 * Bump default task timeout from 40 minutes to to 1 hour * Address TSAN warnings in test_add_and_scan_failure * Address -Wunused-const-variable for gHexCharPairs * Improve error message when expected OP_MSG request is not received * Improve assertion message for monotonic clock time comparison * Address null pointer warnings by scan-build * CDRIVER-4517 Sync unified retryable writes tests files with b9cdbbbe * CDRIVER-4517 Sync unified retryable reads tests files with b9cdbbbe * Declare _mongoc_cluster_stream_for_server as static * Refactor _mongoc_bson_init_with_transient_txn_error -> _mongoc_add_transient_txn_error * Separate aggregates with writes from mongoc_cluster_stream_for_reads * Add _mongoc_error_is_auth * Declare _mongoc_write_error_append_retryable_label in mongoc-error-private.h * Remove always-true handshake_complete parameter from _handle_network_error * Assert preconditions for mongoc_cluster_stream_for_server * Permit empty arguments field for operation_list_collections * Retry when encountering a network error establishing an initial connection to a server * Update tests to account for retryable handshake network failures * Add unified test runner support for listDatabaseNames * Skip retryable reads tests that require unsupported optional helpers
-
- Nov 11, 2022
-
-
Gil Alon authored
-
Kyle Kloberdanz authored
Building on master results in a few unused variable warnings from the example code. Specifically the variable `bson_error_t error` was not being used in some examples, presumable to simplify the example code. Adding a `BSON_UNUSED (error);` to these locations keeps the example code simple while also supressing compiler warnings.
-
Gil Alon authored
CDRIVER-4449 add prose test and store original error with retryWrites
-
- Nov 08, 2022
-
-
vector-of-bool authored
[CDRIVER-4428] Automatic Queryable Encryption Keys for Encrypted Fields when Creating a Collection (#1118) * Internal auto-datakeys API/utility - This implements a utility function that inspects the options for `create`'s `encryptedFields.fields` and finds null keyIds - When a null keyId is found, a caller-supplied callback is invoked to generate a new keyId value. this value is inserted in place of the null keyId. - This utility does not require CSE support or I/O, so it can be tested and validated without any external dependencies. - The isolation of the auto-datakey logic isolates its correctness from the correctness of any calling code. * Public API for creating an encrypted collection This convenience function wrapping CreateCollection will automatically fill in any null keyIds with new datakeys before creating the collection. * Support the encryptedFieldsMap. Clean-up encryptedFields lookup. - Support the encryptedFieldsMap within CreateEncryptedCollection. Looks up the encryptedFields for the collection in the same way as for the CreateCollection and DropCollection APIs. - Consolidate the logic used to find encryptedFields for collections, now shared across all three helper functions. - The internal auto-datakey function now acts on encryptedFields directly instead of the CreateCollection options. * Simple test case to verify that we created an encrypted collection
-
- Nov 04, 2022
-
-
Gil Alon authored
CDRIVER-4435 create gcp token through HTTP request and add integration testing
-
- Nov 03, 2022
-
-
Kevin Albertson authored
-
Ezra Chung authored
CDRIVER-4136 Use C99 as default C standard without requiring explicit CMake config variables (#1138)
-
- Oct 29, 2022
-
-
Ezra Chung authored
-
- Oct 28, 2022
-
-
vector-of-bool authored
* Add dsl.h header * Use BSON DSL in a few places. * Big doc * Better test cases for DSL * Older MSVC support * Fix missing destroy in _mongoc_aggregate * Reduce duplicate passes in mongoc-cursor.
-
- Oct 26, 2022
-
-
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
-
Gil Alon authored
-
- Oct 25, 2022
-
-
Gil Alon authored
CDRIVER-4362 Add support for dropTarget, showExpandedEvents and dropIndex
-
- Oct 21, 2022
-
-
Gil Alon authored
CDRIVER-4499 add bson_set_error to invalid types in handle hello
-
Ezra Chung authored
-
Roberto C. Sánchez authored
-