[SERVER-25768] Skip validate/dbhash hook in jstestfuzz suite if invalid views are present in system.views Created: 24/Aug/16  Updated: 26/Oct/18  Resolved: 24/Aug/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.11
Fix Version/s: 3.3.12

Type: Task Priority: Critical - P2
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Done Votes: 0
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-36816 Avoid reloading the view catalog on t... Closed
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 24/Aug/16 ]

Author:

{u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}

Message: SERVER-25768 skip hooks in fuzzer suites when invalid views present

Skips the validate and dbhash hooks for jstestfuzz* suites when listCollections
fails with an InvalidViewDefinition error.
Branch: master
https://github.com/mongodb/mongo/commit/7486388e02d31c3ef31ffd399d4304843527a12e

Comment by Samantha Ritter (Inactive) [ 24/Aug/16 ]

Upped the priority since this is happening so frequently

Generated at Thu Feb 08 04:10:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.