Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2449

Do not connect to mongocryptd if shared library is loaded

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: None
    • None
    • Needed
    • Hide

      Ensure that a MongoClient for mongocryptd is not created when shared library is in use

      Show
      Ensure that a MongoClient for mongocryptd is not created when shared library is in use
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4480 Fixed 1.24.0
      CXX-2578 Backlog
      CSHARP-4335 Fixed 2.19.0
      GODRIVER-2559 Fixed 1.12.0, 1.12.0-alpha1
      JAVA-4741 Done 4.10.0
      NODE-4663 Duplicate
      MOTOR-1034 Duplicate
      PYTHON-3446 Done 4.4
      PHPLIB-988 Blocked
      RUBY-3133 Fixed 2.19.0
      RUST-1479 Fixed 2.4.0
      SWIFT-1640 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4480 Fixed 1.24.0 CXX-2578 Backlog CSHARP-4335 Fixed 2.19.0 GODRIVER-2559 Fixed 1.12.0, 1.12.0-alpha1 JAVA-4741 Done 4.10.0 NODE-4663 Duplicate MOTOR-1034 Duplicate PYTHON-3446 Done 4.4 PHPLIB-988 Blocked RUBY-3133 Fixed 2.19.0 RUST-1479 Fixed 2.4.0 SWIFT-1640 Duplicate

      Summary

      Do not connect to mongocryptd if shared library is loaded

      Motivation

      Successfully loading shared library implicitly assumed that MongoClient must not be created for mongocryptd, now this statement is explicit.

      How does this affect the end user?

      If a driver spawns a MongoClient for mongocryptd when a shared library is in place, this client will be no-op if mongocryptd is available and will generate hidden SDAM exceptions in another case.

      Is this issue urgent?

      Nothing is on fire, but better to check this behavior to avoid confusions like why I see mongocryptd exceptions/calls when I use shared library

      Is this ticket only for tests?

      no

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: