1. Dec 28, 2022
  2. Dec 23, 2022
  3. Dec 21, 2022
  4. Dec 17, 2022
  5. Dec 16, 2022
  6. Dec 14, 2022
  7. Dec 10, 2022
    • Kevin Albertson's avatar
      CDRIVER-4275 and CDRIVER-4275 (#1158) · eea8bb74
      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
      eea8bb74
  8. Dec 06, 2022
  9. Dec 05, 2022
  10. Dec 01, 2022
    • Jeremy Mikola's avatar
      CDRIVER-4454 use consistent include path for mcd-time.h (#1154) · a60ac704
      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
      a60ac704
  11. Nov 29, 2022
  12. Nov 28, 2022
  13. Nov 17, 2022
  14. Nov 16, 2022
  15. Nov 15, 2022
  16. Nov 12, 2022
    • Ezra Chung's avatar
      CDRIVER-4192 Support retryable handshake network errors (#1141) · 6072b69c
      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
      6072b69c
  17. Nov 11, 2022
  18. Nov 08, 2022
    • vector-of-bool's avatar
      [CDRIVER-4428] Automatic Queryable Encryption Keys for Encrypted Fields when... · 5c049bf8
      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
      5c049bf8
  19. Nov 04, 2022
  20. Nov 03, 2022
  21. Oct 29, 2022
  22. Oct 28, 2022
    • vector-of-bool's avatar
      CDRIVER-4503 A BSON Handling EDSL (#1094) · 40a64c2f
      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.
      40a64c2f
  23. Oct 26, 2022
  24. Oct 25, 2022
  25. Oct 21, 2022