Read preference constants should be mapped to libmongoc constants

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: