[SERVER-35261] Add CheckReplDBHashInBackground hook to concurrency_replication.yml test suite Created: 27/May/18  Updated: 29/Oct/23  Resolved: 01/Jun/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.0-rc2, 4.1.1

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: TIG 2018-06-18
Participants:
Story Points: 2

 Description   

Apply the following patch and run it several times in Evergreen to see if there are any failures before turning it on.

diff --git a/buildscripts/resmokeconfig/suites/concurrency_replication.yml b/buildscripts/resmokeconfig/suites/concurrency_replication.yml
index 7ae625b..05dfa72 100644
--- a/buildscripts/resmokeconfig/suites/concurrency_replication.yml
+++ b/buildscripts/resmokeconfig/suites/concurrency_replication.yml
@@ -16,6 +16,7 @@ selector:
 executor:
   archive:
     hooks:
+      - CheckReplDBHashInBackground
       - CheckReplDBHash
       - ValidateCollections
     tests: true
@@ -26,7 +27,7 @@ executor:
   # The CheckReplDBHash hook waits until all operations have replicated to and have been applied
   # on the secondaries, so we run the ValidateCollections hook after it to ensure we're
   # validating the entire contents of the collection.
-  #
+  - class: CheckReplDBHashInBackground
   # TODO SERVER-26466: Add CheckReplOplogs hook to the concurrency suite.
   - class: CheckReplDBHash
   - class: ValidateCollections

Note: Unlike SERVER-34555, there shouldn't need to be any additional synchronization as the CheckReplDBHashInBackground hook is safe to run while the $config.setup() and $config.teardown() functions are being run.



 Comments   
Comment by Githook User [ 01/Jun/18 ]

Author:

{'username': 'hptabster', 'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com'}

Message: SERVER-35261 Add CheckReplDBHashInBackground hook to concurrency_replication.yml test suite

(cherry picked from commit ed5967197aeef281a7201b6d449ec11805bd81b7)
Branch: v4.0
https://github.com/mongodb/mongo/commit/4e3fd5f2b545af7a1a5025e48e63dee1a5083b68

Comment by Githook User [ 01/Jun/18 ]

Author:

{'username': 'hptabster', 'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com'}

Message: SERVER-35261 Add CheckReplDBHashInBackground hook to concurrency_replication.yml test suite
Branch: master
https://github.com/mongodb/mongo/commit/ed5967197aeef281a7201b6d449ec11805bd81b7

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