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

Read preference constants should be mapped to libmongoc constants

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Implementation
    • Labels:
    • Story Points:
      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

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

              Dates

              Created:
              Updated:
              Resolved: