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

Skip validate/dbhash hook in jstestfuzz suite if invalid views are present in system.views

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 0

    Description

      The fuzzer routinely performs inserts directly into system.views. Many of these are invalid, which causes listCollections to fail. The dbhash and validation hooks both rely on listCollections, and the presence of invalid views will cause tests to fail.

      For now, we should skip the hooks entirely in jstestfuzz suites if listCollections fails with an invalid-views specific error code.

      Attachments

        Issue Links

          Activity

            People

              kyle.suarez@mongodb.com Kyle Suarez
              kyle.suarez@mongodb.com Kyle Suarez
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: