Libmongocrypt binding does not work when libmongocrypt fails to load

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Observed behavior:

      • User sets LIBMONGOCRYPT_PATH variable incorrectly
      • User attempts to use FLE
      • An error is raised telling them that the LIBMONGOCRYPT_PATH is invalid
      • User fixes LIBMONGOCRYPT_PATH
      • User attempts to use FLE
      • The libmongocrypt binding says that it has no method "mongocrypt_init"

      Even though the user fixes the LIBMONGOCRYPT_PATH env variable, the Ruby Binding class is not reloading, which means that the binding does not know the location of the C library and FLE will not work unless the driver is restarted.

      Expected behavior:

      • User sets LIBMONGOCRYPT_PATH variable incorrectly
      • User attempts to use FLE
      • An error is raised telling them that the LIBMONGOCRYPT_PATH is invalid
      • User fixes LIBMONGOCRYPT_PATH
      • User can use all features in FLE

              Assignee:
              Oleg Pudeyev (Inactive)
              Reporter:
              Emily Giurleo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: