Inconsistent errs from CRUD functions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: Bulk API, errors, libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Inserting a document larger than 16MB sometimes sets error.domain to MONGOC_ERROR_COMMAND with a legacy insert, sometimes MONGOC_ERROR_QUERY with an insert command. It should always be MONGOC_ERROR_BSON.

      mongoc_collection_insert, insert_bulk, update, and delete sometimes set error.domain to MONGOC_ERROR_COLLECTION, sometimes to MONGOC_ERROR_COMMAND.

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

              Created:
              Updated:
              Resolved: