Commit Graph

19 Commits

Author SHA1 Message Date
Siyuan Zhou
953a241f6d SERVER-23663 New primary syncs from chosen node to catch up with timeout
SERVER-23662 Implement "catch-up timeout" configuration variable
2016-08-04 18:10:46 -04:00
Benety Goh
128fdb3672 SERVER-24901 do not use fast count when checking collection size in replset tests 2016-07-07 09:56:37 -04:00
hari devaraj
dd7e05dbde SERVER-21432 Allowed slaveOk reads when node is in drain mode 2016-06-17 15:53:36 -04:00
Hari Devaraj
d22b461811 SERVER-21375 fixed drain mode error and added recovery test 2016-06-10 10:55:58 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Kaloian Manassiev
c714577f26 SERVER-22914 Make mongos_no_replica_set_refresh obtain config from the primary node
Also gets rid of the getConfigFromPrimary method in place of a more
flexible one.
2016-03-02 09:44:58 -05:00
Kaloian Manassiev
20cd3a392e SERVER-21050 Introduce ReplSetTest.State enumeration everywhere
Makes all JS tests access the replica set member state from the class
itself instead of the object instance. Also removes some unused code.
2015-12-11 13:21:22 -05:00
Eric Milkie
2ba6eb9c4b SERVER-21396 raise default electionTimeoutMillis to 10 seconds 2015-11-10 17:15:49 -05:00
Scott Hernandez
c155fe777a increase election timeout for drain.js 2015-10-23 13:45:07 -04:00
Benety Goh
fb06c14476 SERVER-20979 added ReplicationCoordinator::waitForMemberState() and waitForDrainFinish()
also added subcommands to replSetTest to access these functions from JS tests
2015-10-21 21:43:50 -04:00
Kaloian Manassiev
25b498934f SERVER-20646 Get rid of CommonErrorCodes
Replace all usages with the standard ErrorCodes enumeration.
2015-10-13 09:43:40 -04:00
Eric Milkie
5c4b2cb0f8 SERVER-20649 add slaveOk read test coverage for drain mode 2015-10-08 05:27:10 -04:00
Eric Milkie
1aece4e856 Revert "SERVER-20649 add slaveOk read test coverage for drain mode"
This reverts commit 2d5555b6a9.
2015-09-28 16:33:35 -04:00
Eric Milkie
2d5555b6a9 SERVER-20649 add slaveOk read test coverage for drain mode 2015-09-28 14:21:52 -04:00
Benety Goh
5bafa8e066 SERVER-20094 additional assertions on fail point and write operations in replsets/drain.js 2015-08-24 15:45:04 -04:00
Benety Goh
95428be95d SERVER-19307 SyncTail::tryPopAndWaitForMore should not consume buffered operations when rsSyncApplyStop fail point is enabled 2015-07-13 15:46:03 -04:00
Eric Milkie
5598c216ca SERVER-16391 archor primary in replset tests, or make agnostic to primary node 2014-12-03 12:58:24 -05:00
matt dannenberg
2b320ff280 minor replsets/drain.js improvement 2014-11-11 10:28:11 -05:00
matt dannenberg
d01714904e SERVER-15965 add test for replset drain mode 2014-11-05 05:50:17 -05:00