[SERVER-8558] Add tests covering replica set flapping and heartbeatTimeoutSecs Created: 13/Feb/13  Updated: 11/Jul/16  Resolved: 11/Apr/13

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.0

Type: Improvement Priority: Minor - P4
Reporter: Jeremy Mikola Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

 Description   

Pull request: https://github.com/mongodb/mongo/pull/360



 Comments   
Comment by auto [ 08/Apr/13 ]

Author:

{u'date': u'2013-04-08T18:12:46Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-8558 fix Windows compile
Branch: master
https://github.com/mongodb/mongo/commit/817a5e3f07a399e27c7098f1bcc451437dc4e0d5

Comment by auto [ 08/Apr/13 ]

Author:

{u'date': u'2013-01-23T01:20:12Z', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}

Message: SERVER-8558 Support mongobridge delay parameter in ReplSetBridge

This should be compatible with future improvements to support ranged delays (see #317)

Support unidirectional network partitioning in ReplSetTest
The default behavior (bidirectional) remains as-is. This adds support for terminating an X->Y link while leaving Y->X untouched.

Test replica set flapping and heartbeatTimeoutSecs

Also adds two fail points to support JS tests. rsDelayHeartbeatResponse will delay the replSetHeartbeat command response on a node. rsStopHeartbeatRequest may be used to preemptively fail a heartbeat to another member (by its host:port).

Signed-off-by: Eric Milkie <milkie@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/0d6aff98bf28808560a4ee57709be77d0584c638

Comment by Eric Milkie [ 28/Feb/13 ]

It looks like the CR isn't quite done yet, and the cutoff for 2.4 is tomorrow. I won't have time to look at this before then.

Comment by Jeremy Mikola [ 28/Feb/13 ]

milkie: Any reason this was bumped to 2.5.x given that it's a test for 2.4?

Comment by Jeremy Mikola [ 13/Feb/13 ]

Updated the pull request with changes since the last code review: http://codereview.10gen.com/9241063/

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