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

Read preference constants should be mapped to libmongoc constants

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.2.0-rc0
    • Implementation
    • 1

    Description

      The constants for mode (k_primary_preferred) hard code values. This risks being out of sync with libmongoc if they ever change their values. We should map our values to theirs using their constants, as we do for read concerns.

      Attachments

        Activity

          People

            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: