[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:
Backports
Depends
depends on SERVER-34778 Add support for specifying atClusterT... Closed
Documented
is documented by DOCS-11759 Docs for SERVER-34779: Check the dbha... Closed
Related
related to SERVER-35217 killSessions command attempts to kill... Closed
related to SERVER-39169 Add testing-only support for doing sn... Closed
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: SERVER-34779 Add hook for checking dbhash while a test is running.

Enables the CheckReplDBHashInBackground hook in the
replica_sets_jscore_passthrough.yml test suite.

(cherry picked from commit 25f72cf5f1d0d894680ef855f646e27f234ce6a3)
Branch: v4.0
https://github.com/mongodb/mongo/commit/963274b25452305779898d618102e3d1cacb562a

Comment by Githook User [ 26/May/18 ]

Author:

{'username': 'visemet', 'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-34779 Add hook for checking dbhash while a test is running.

Enables the CheckReplDBHashInBackground hook in the
replica_sets_jscore_passthrough.yml test suite.

Also fixes the WTPreserveSnapshotHistoryIndefinitely failpoint to ignore
attempts from _decreaseTargetSnapshotWindowSize() to move the oldest
timestamp forward.
Branch: master
https://github.com/mongodb/mongo/commit/25f72cf5f1d0d894680ef855f646e27f234ce6a3

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