Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15994

listIndexes and listCollections can be run on secondaries without slaveOk bit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 2.7.8
    • 2.6.6, 2.8.0-rc1
    • Replication
    • Major Change
    • ALL
    • 0

    Description

      Should able to correct this by having CmdListIndexes::slaveOk return false. Note: CmsListIndexes::slaveOverrideOk is already returning the correct value.

      Attachments

        1. repl_listidx.js
          0.7 kB
          Randolph Tan

        Issue Links

          Activity

            People

              matt.dannenberg Matt Dannenberg
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: