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

listCollections and listIndexes commands are forced to the primary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.13.2, 2.14.0
    • 2.13.0
    • Command Operations
    • None

    Description

      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.

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            chunming.li@mongodb.com Chunming Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: