- Jun 14, 2022
-
-
Roberto C. Sánchez authored
-
- Jun 08, 2022
-
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
Ezra Chung authored
Signed-off-by:Ezra Chung <ezra.chung@mongodb.com>
-
- May 15, 2022
-
-
vector-of-bool authored
* Update bundled zlib to 1.2.12 [Close CDRIVER-4377]
-
- Apr 19, 2022
-
-
Roberto C. Sánchez authored
-
- Apr 13, 2022
-
-
Kevin Albertson authored
badQueries is not included in C driver tests due to CDRIVER-4332.
-
- Mar 03, 2022
-
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
- Mar 02, 2022
-
-
Jesse Williamson authored
Signed-off-by:Jesse Williamson <jesse.williamson@mongodb.com>
-
Remi Collet authored
-
- Feb 10, 2022
-
-
Jeremy Mikola authored
-
- Feb 04, 2022
-
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
- Feb 02, 2022
-
-
Ezra Chung authored
Signed-off-by:Ezra Chung <ezra.chung@mongodb.com>
-
vector-of-bool authored
-
- Feb 01, 2022
-
-
Kevin Albertson authored
-
- Jan 29, 2022
-
-
Ezra Chung authored
-
Ezra Chung authored
* Bump WIRE_VERSION_MIN from 3 to 6 * Assert request parameter for mock_server_replies_to_find() is not null * Update error message for failing to satisfy minimum wire version * Remove Evergreen tasks requiring server version below 3.6 * Update mock servers to forbid max_wire_version < 6 * Update test code conditioned on wire version < 6 * Replace wire version integer literals with feature macros * Replace wire versions in string literals with feature macros * Add mock_server_receives_bulk_msg() * Update mock_server_recieves_command() -> mock_server_recieves_msg()
-
- Jan 26, 2022
-
-
vector-of-bool authored
* Allow readPreference:secondary with $merge and $out. [Finish CDRIVER-3893, CDRIVER-4224, and CDRIVER-4195] * Pass around the effectively chosen read mode used in server selection back to the command builder * Update doc func name * Fix duplicate doc comments * Consolidate duplicate state in suitable_servers() * Less magic numbers * Clarify wire version checks * Force primary read preference if talking to a single server older than 5.0
-
vector-of-bool authored
* New random generation of OID values [Fixes CDRIVER-4231] * Restore hashing of machine attributes, plus an atomic init-counter, plus the process ID. * Instead of MD5 hashing, use SipHash. * No more magic numbers, make bson-context -Wconversion clean, comment what's happening in the random init. * Remove old deprecated docs and no-op tests. * Host name mocking is gone
-
- Jan 24, 2022
-
-
Ezra Chung authored
* Remove test suite signal handlers for C90 compatibility * Replace snprintf with bson_snprintf * Address missing _InterlockedExchangePointer on x86 with VS 2013
-
- Jan 20, 2022
-
-
Ezra Chung authored
* Address extra semicolon warnings * Address incompatible pointer and signedness warnings for old GCC versions
-
Pau Espin Pedrol authored
-
- Jan 06, 2022
-
-
Kevin Albertson authored
-
Kevin Albertson authored
-
Roberto C. Sánchez authored
-
Roberto C. Sánchez authored
-
David CARLIER authored
Co-authored-by:Kevin Albertson <kevin.albertson@mongodb.com>
-
- Jan 05, 2022
-
-
Kevin Albertson authored
-
Ezra Chung authored
* Remove deprecated feature test macro _BSD_SOURCE * Reduce language extensions to those specified by _DEFAULT_SOURCE * Apply _DEFAULT_SOURCE to all subdirectories * Remove explicit feature test macros from Evergreen tasks * Address missing inclusion of unistd.h during zlib bundle compilation
-
Jeremy Mikola authored
Introduces new mongoc_client_new_from_uri_with_error and mongoc_client_pool_new_with_error methods. Also addresses topology leak in mongoc_client_new_from_uri (CDRIVER-4251). * Remove redundant warnings about unused results * Explain why we need not handle null result from _mongoc_client_new_from_topology * Log URI errors in mongoc_client_new as warnings * Clear logs between /Client/max_staleness assertions * Set error instead of logging in mongoc_client_pool_new_with_error * Remove test expecting a client with an invalid topology * Revise assertions in /loadbalanced/client_uri_validation test This no longer requires constructing a client and expecting an error through server selection. * Use tracing macro for return statement * Check MONGOC_ENABLE_SSL in mongoc_client_new_from_uri_with_error Moving the check up from _mongoc_client_new_from_topology makes mongoc_client_new_from_uri_with_error consistent with mongoc_client_pool_new_with_error. Additionally, we add log message assertions to corresponding tests. * Anticipate null pool or client in SRV error tests * Remove obsolete tests for invalid LB topologies These tests were previously introduced in CDRIVER-4184 but no longer apply now that we prohibit construction of clients and pools with an invalid topology. * _mongoc_client_new_from_topology should require a valid topology * Document precondition for _mongoc_client_new_from_topology Co-authored-by:
Ezra Chung <88335979+eramongodb@users.noreply.github.com> Co-authored-by:
Kevin Albertson <kevin.albertson@mongodb.com>
-
- Dec 29, 2021
-
-
Roberto C. Sánchez authored
-
- Dec 21, 2021
-
-
Ezra Chung authored
-
Ezra Chung authored
* Update MONGOC_URI_SRVMAXHOSTS to lowercase for consistency * Add support for parsing URI option srvServiceName * Update spec tests for srvServiceName * Add documentation for mongoc_uri_get_srv_service_name() * Add support for srvServiceName in DNS seedlist discovery * Add mongoc_uri_get_srv_hostname() * Replace and rename SRV "service" with "hostname"
-
- Dec 18, 2021
-
-
Kevin Albertson authored
-
Ezra Chung authored
-
- Dec 16, 2021
-
-
Ezra Chung authored
* Warn and ignore exhaust cursor option given server 5.1 or newer * Unconditionally use OP_MSG for find command given server 5.1 or newer * Unconditionally use OP_MSG for getMore command given server 5.1 or newer * Avoid unnecessary exhaust cursor in /counters/op_msg test * Document exhaust option behavior for find command * Add /Client/exhaust_cursor/fallback test for server 5.1 and newer
-
- Dec 15, 2021
-
-
vector-of-bool authored
-