listCollections and listIndexes commands are forced to the primary

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.13.2, 2.14.0
    • Affects Version/s: 2.13.0
    • Component/s: Command Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I ran the listCollections command with primaryPreferred read preference against a 3.0+ replica set, but instead the driver dictates primary read preference here. I'd like the command to work when the primary is down. This is likely caused by the string case mismatching in the _obedientCommands.

            Assignee:
            Ross Lawley
            Reporter:
            Chunming Li (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: