Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-662

Inconsistent errs from CRUD functions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • None
    • Bulk API, errors, libmongoc
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: