[SERVER-20979] add replication test commands to support failover time performance testing Created: 16/Oct/15  Updated: 24/Feb/17  Resolved: 30/Oct/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.0-rc2

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-21975 test_command.js failed in replset Closed
Related
is related to SERVER-20402 Add Election Failover JS tests Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl B (10/30/15)
Participants:
Linked BF Score: 0

 Description   

Using the Replica Set Failover Time Testing scope doc, produce a framework/rig to run the proposed tests.



 Comments   
Comment by Githook User [ 26/Oct/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-20979 ensure election completes before running waitForMemberState and waitForDrainFinish
Branch: master
https://github.com/mongodb/mongo/commit/08bcdca185912cf9f8c6c6bf7faa94b23ea76583

Comment by Githook User [ 23/Oct/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-20979 added test cases for current node having higher priority than primary
Branch: master
https://github.com/mongodb/mongo/commit/7483d8652926ad277e7e74d145444fe7b3fe2088

Comment by Githook User [ 22/Oct/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-20979 make test_command.js more stable by waiting for node 0 to become primary before running tests
Branch: master
https://github.com/mongodb/mongo/commit/95344b7d99be4f7b30151d578b8b9b530c5be667

Comment by Githook User [ 22/Oct/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-20979 added ReplicationCoordinator::waitForMemberState() and waitForDrainFinish()

also added subcommands to replSetTest to access these functions from JS tests
Branch: master
https://github.com/mongodb/mongo/commit/fb06c1447621f410f9cbcd9947f3fa5bfa898b37

Generated at Thu Feb 08 03:55:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.