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

run_validate_collections hook doesn't check secondaries

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      TIG 2017-10-23
    • Linked BF Score:
      0

      Description

      In the run_validate_collections hook, it seems like we only call validate on the primary.

      Take a look at this loop:

      https://github.com/mongodb/mongo/blob/80a01240a1e1ac5ddb9191561046b38a50686ac0/jstests/hooks/run_validate_collections.js#L28-L36

      We get the list of DBs from the secondary, but we call validate using the original mongo shell (which is connected to the primary).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: