[SERVER-28590] Call validate before any mongod is shut down in our tests Created: 03/Apr/17  Updated: 06/Dec/17  Resolved: 07/Jun/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.9

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Eddie Louie
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-29845 While doing "rolling" backup skip 'ns... Closed
related to SERVER-31908 validate_collections_on_shutdown does... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-05-08, TIG 2017-05-29, TIG 2017-06-19
Participants:

 Description   

There are very few places where validate is not expected to succeed. We should call it whenever we shut down a mongod to improve our test coverage. This will increase our test run times, but may catch some data corruption bugs.



 Comments   
Comment by Githook User [ 07/Jun/17 ]

Author:

{u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'}

Message: SERVER-28590 Invoke validate command on collections before shutting down mongod in JS tests
Branch: master
https://github.com/mongodb/mongo/commit/103972cebb1cdfccbc76c2afd82c824ed02fc11c

Comment by Eddie Louie [ 26/May/17 ]

Code review: https://mongodbcr.appspot.com/132460001/
Evergreen patch: https://evergreen.mongodb.com/version/5936d0752fbabe173c00108d

Comment by Max Hirschhorn [ 04/Apr/17 ]

We'll also want to avoid compiling in the code for validating collections that in jstests/hooks/validate_collections.js.

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