mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
SERVER-17363 increase heartbeat timeout for rollback4
This commit is contained in:
parent
7eadd4fffe
commit
a5030efecd
@ -8,10 +8,13 @@ var nodes = replTest.nodeList();
|
||||
|
||||
var conns = replTest.startSet();
|
||||
var r = replTest.initiate({ "_id": "unicomplex",
|
||||
"members": [
|
||||
{ "_id": 0, "host": nodes[0], priority: 2 },
|
||||
{ "_id": 1, "host": nodes[1] },
|
||||
{ "_id": 2, "host": nodes[2], arbiterOnly: true}]
|
||||
"settings": {
|
||||
"heartbeatTimeoutSecs":30
|
||||
},
|
||||
"members": [
|
||||
{ "_id": 0, "host": nodes[0], priority: 2 },
|
||||
{ "_id": 1, "host": nodes[1] },
|
||||
{ "_id": 2, "host": nodes[2], arbiterOnly: true}]
|
||||
}, 'replSetInitiate', 600000);
|
||||
|
||||
replTest.waitForState(replTest.nodes[0], replTest.PRIMARY, 60 * 1000);
|
||||
|
Loading…
Reference in New Issue
Block a user