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

run_validate_collections hook doesn't check secondaries

    • Minor Change
    • ALL
    • v3.4
    • TIG 2017-10-23
    • 0

      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).

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

              Created:
              Updated:
              Resolved: