[SERVER-34779] Check the dbhash periodically in a new version of the replica_sets_jscore_passthrough.yml test suite Created: 01/May/18 Updated: 29/Oct/23 Resolved: 26/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0-rc1, 4.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||||||||||||||||||
| Sprint: | TIG 2018-05-21, TIG 2018-06-04 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||
| Story Points: | 8 | ||||||||||||||||||||||||||||||||
| Description |
|
We should create another version of jstests/libs/override_methods/run_check_repl_dbhash.js and possibly of ReplSetTest#checkReplicatedDataHashes() that doesn't require (1) flushing background indexes with collMod operations, (2) fsync+locking the primary, and (3) call ReplSetTest#awaitReplication(). A background thread inside of resmoke.py should then run the "dbhash" command periodically via the hook file and cause the test to be marked as a failure if a data inconsistency is detected. |
| Comments |
| Comment by Githook User [ 26/May/18 ] |
|
Author: {'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}Message: Enables the CheckReplDBHashInBackground hook in the (cherry picked from commit 25f72cf5f1d0d894680ef855f646e27f234ce6a3) |
| Comment by Githook User [ 26/May/18 ] |
|
Author: {'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}Message: Enables the CheckReplDBHashInBackground hook in the Also fixes the WTPreserveSnapshotHistoryIndefinitely failpoint to ignore |