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

run_validate_collections hook doesn't check secondaries

    XMLWordPrintable

Details

    • Minor Change
    • ALL
    • v3.4
    • TIG 2017-10-23
    • 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

              ian.boros@mongodb.com Ian Boros
              ian.boros@mongodb.com Ian Boros
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: