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

mongoc_collection_create_index_with_opts ignores collection writeConcern

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.13.0
    • Component/s: libmongoc
    • Labels:
      None

      Description

      If no writeConcern is passed to mongoc_collection_create_index_with_opts, it should use the collection's writeConcern, but in fact it uses the default writeConcern.

      The NEWS entry for 1.5.0 claiming "mongoc_collection_create_index_with_opts now applies the collection's write concern if none is specified in opts" seems to have been wrong all along.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: