Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1524

Audit CXX usage of libmongoc APIs

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Many places, the C++ Driver uses deprecated libmongoc APIs, or uses lower-level APIs than it needs to. The C++ Driver implements some driver logic itself that it should delegate to libmongoc: for example, rewriter::rewrite_find_modifiers appears to duplicate logic in libmongoc's _translate_query_opt() for upgrading OP_QUERY modifiers like "$orderby" to "find" command parameters like "sort".

      Note, the C++ Driver reimplements GridFS instead of using libmongoc's GridFS API; this is appropriate because libmongoc's GridFS is out of spec and not worth using.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: