Audit CXX usage of libmongoc APIs

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: