Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1842

listCollections and listIndexes commands are forced to the primary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.13.2, 2.14.0
    • Affects Version/s: 2.13.0
    • Component/s: Command Operations
    • Labels:
      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@mongodb.com Ross Lawley
            Reporter:
            chunming.li@mongodb.com Chunming Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: