[SERVER-23226] Port resmoke.py's CheckReplDBHash hook to javascript Created: 18/Mar/16  Updated: 16/Sep/20  Resolved: 22/Jun/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.3
Fix Version/s: 3.2.9, 3.3.9

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: test-only, tig-resmoke
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-22744 CheckReplDBHash Should check user wri... Closed
is depended on by SERVER-23306 Check collection attributes during (j... Closed
Duplicate
is duplicated by SERVER-21876 CheckReplDBHash testing hook doesn't ... Closed
Related
related to SERVER-25212 work around stale dbhash value on v3.2 Closed
related to SERVER-24716 Remove the CheckReplDBHashDeprecated ... Closed
related to SERVER-25324 Expose a function in the shell to com... Closed
related to SERVER-24541 Add a test suite to test the JS hooks Closed
is related to SERVER-22860 Port resmoke.py's ValidateCollections... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: TIG 13 (04/22/16), TIG 14 (05/13/16), TIG 15 (06/03/16), TIG 16 (06/24/16)
Participants:
Linked BF Score: 0

 Description   

porting to JavaScript will cut down on code duplication between the concurrency suite and resmoke.py, both of which have divergent checks for dbHash checking:
https://github.com/mongodb/mongo/blob/b1a44ae6c43320b92462f23133e0fbf237d95484/buildscripts/resmokelib/testing/hooks.py
https://github.com/mongodb/mongo/blob/b1a44ae6c43320b92462f23133e0fbf237d95484/jstests/concurrency/fsm_libs/cluster.js#L417



 Comments   
Comment by Robert Guo (Inactive) [ 12/Sep/16 ]

The hook has been moved to replsettest.js
https://github.com/mongodb/mongo/commit/8455317a383557ec3c253532c71f7065263eff80

Comment by Githook User [ 15/Jul/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robertguo@me.com'}

Message: SERVER-23226 port CheckReplDBHash hook to jS

(cherry picked from commit 4c0336f5b0c89e5ec0128e167903a61f219921c0)
Branch: v3.2
https://github.com/mongodb/mongo/commit/f609ce499e82d641bcf247e96b726874b9f2d1e5

Comment by Githook User [ 22/Jun/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robertguo@me.com'}

Message: SERVER-23226 port CheckReplDBHash hook to jS
Branch: master
https://github.com/mongodb/mongo/commit/4c0336f5b0c89e5ec0128e167903a61f219921c0

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