Commit Graph

51 Commits

Author SHA1 Message Date
Moustafa Maher 0d97b04197 SERVER-55703 Update getDefaultRWConcern 2021-04-29 23:07:54 +00:00
Ali Mir 93cff71bfc SERVER-50651 Replace occurrences of isMaster command with hello in replsets jstests 2020-09-28 18:05:55 +00:00
Ali Mir 0c2f4ad0b1 SERVER-49993 Update _slaves to _secondaries in replsettest.js 2020-09-04 14:15:35 +00:00
Ali Mir a0b14e0a81 SERVER-49993 Change ReplSetTest functions that use master/slave terminology 2020-09-03 23:28:27 +00:00
Pavi Vetriselvan 783e113bbb SERVER-50408 Change NotMaster error name to NotWritablePrimary 2020-09-03 13:19:48 +00:00
James Wahlin 39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +00:00
Medha Potluri d14ee95139 SERVER-41503 Track the target opTime for catchup in replSetStatus on primaries 2019-08-13 12:28:28 -04:00
Medha Potluri 4e8fbd52ca SERVER-41510 Track the number of failed stepDowns in serverStatus 2019-07-29 11:00:42 -04:00
Medha Potluri 2ae4fd3e58 SERVER-41509 Track the number of attempted stepDowns in serverStatus 2019-07-29 10:44:09 -04:00
Matthew Russotto c3a72d61dc SERVER-38516 Remove “closeConnectionsOnStepdown” flag and fix tests broken by this 2019-02-12 11:07:46 -05:00
Tess Avitabile 80ae7e58d3 SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes 2018-05-01 09:43:36 -04:00
Eddie Louie 103972cebb SERVER-28590 Invoke validate command on collections before shutting down mongod in JS tests 2017-06-07 14:36:31 -04:00
Judah Schvimer 148c0031f5 SERVER-28053 allow network errors when turning off rollbackHangBeforeStart failpoint 2017-04-17 10:02:12 -04:00
Benety Goh 3494a01655 SERVER-28135 stepdown.js should always fsyncUnlock() all secondary nodes 2017-03-02 13:56:48 -05:00
Judah Schvimer a4e1443629 SERVER-27839 Allow for step downs during reconfig in ReplSetTest initiate 2017-02-27 13:14:03 -05:00
Judah Schvimer 0fef13b45a SERVER-26227 Increase waitForState timeouts in replicaset tests 2016-09-22 09:40:38 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy f768da59c3 SERVER-22341 fix jslint errors in jstests/replsets with eslint --fix 2016-02-05 15:00:51 -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
Kaloian Manassiev 3ed6635a5f SERVER-21050 Cleanup ReplSetTest
This is just a cleanup work to hide some of the private state of
ReplSetTest so it is easier to encapsulate and add new logic. Also enables
strict mode.
2015-12-08 13:05:00 -05:00
Charlie Swanson 047f82cdba SERVER-21384 Enable replica set suites for in-memory storage engines 2015-11-19 14:19:12 -05:00
Randolph Tan 065197c7d6 SERVER-21405 Add more context for shell error message "error doing query: failed" 2015-11-11 15:06:27 -05:00
Max Hirschhorn ce3e47aed5 SERVER-19301 Expose new MongoBridge API for network partition testing.
Changes the existing architecture of having a mongobridge process for
each unidirection link between two mongod processes in a replica set to
having a single mongobridge process per node in the replica set. The
mongobridge process is able to distinguish between connections from
different hosts by using the "hostInfo" field in the initial isMaster
command request.
2015-11-06 13:40:59 -05:00
Siyuan Zhou 017f66ab67 SERVER-21077 stepdown.js should wait for expected primary 2015-10-22 17:13:20 -04:00
Charlie Swanson c15f4bb96d SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports 2015-09-09 13:14:48 -04:00
Scott Hernandez af148d8ef5 SERVER-18363: fix for stepdown.js 2015-08-10 11:03:31 -04:00
Adam Midvidy b947b518aa SERVER-18334 preserve existing error message if runCommand fails due to connection failure 2015-05-11 13:46:00 -04:00
Adam Midvidy cc5fc3a275 SERVER-18198 use native runCommand method in the shell 2015-04-29 16:47:11 -04:00
Adam Midvidy 8a805598bb SERVER-7775 refactor fsyncUnlock to execute through standard command path 2015-03-26 14:20:38 -04:00
Adam Midvidy 5e7aa5c9ef Revert "SERVER-7775 refactor fsyncUnlock to execute through standard command path"
This reverts commit 5c48ea0d3f.
2015-03-25 19:06:49 -04:00
Adam Midvidy 5c48ea0d3f SERVER-7775 refactor fsyncUnlock to execute through standard command path 2015-03-25 15:00:03 -04:00
matt dannenberg 91806c6dd5 SERVER-17442 increase tolerance for shutdown timeout in stepdown.js to fix windows build break 2015-03-03 05:03:36 -05:00
Spencer T Brody fc0d56be2c SERVER-16878 Increase logging verbosity in stepdown.js test 2015-01-21 11:57:18 -05:00
Spencer T Brody 7a4cad9e25 SERVER-16878 Add extra diagnostics to help debug stepdown.js test failure 2015-01-15 16:26:27 -05:00
Andy Schwerin dea49e01a9 SERVER-15535 Perform better error detection in stepdown.js 2014-10-20 13:36:55 -04:00
Eric Milkie cd82c0d673 SERVER-15535 ensure reconfig worked 2014-10-17 11:43:57 -04:00
Eric Milkie ca6ab0db38 SERVER-15535 add arbiter to make shutdown test work 2014-10-16 17:20:55 -04:00
matt dannenberg 2a90d1e202 SERVER-14857 prevent stepdown.js from failing when grabbing the wrong master during shutdown 2014-08-11 11:37:35 -04:00
Eric Milkie 243e7efa12 Revert "SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator"
This reverts commit 9ec7d68a97.
2014-08-01 11:31:32 -04:00
matt dannenberg 9ec7d68a97 SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator 2014-07-31 12:52:42 -04:00
Spencer T Brody 08c17bd683 SERVER-10211 Give stepdown.js more time for the primary to be elected after a reconfig 2013-07-30 15:49:50 -04:00
Kristina fd5cef9ff6 SERVER-1929 Fix test race condition 2012-10-12 13:55:13 -04:00
Kristina 0cb718d3cf Fix test to make sure correct member is primary before proceeding 2012-10-05 15:34:13 -04:00
Kristina 32475f5ad8 Fix test to wait for the master's POV to catch up 2012-08-07 14:37:50 -04:00
Kristina 808a6619da Fix MessagingPort to register all ports in global list 2011-12-01 16:33:47 -05:00
Kristina 5af8429d97 fix test edge case 2011-07-19 14:17:08 -04:00
dwight d5b424de15 comment 2011-07-19 10:46:48 -04:00
dwight fe780890af try to make stepdown.js more robust 2011-07-19 10:44:52 -04:00
Kristina 0180e84034 don't shut down if slaves aren't up-to-date SERVER-616 2011-06-10 10:56:46 -04:00
Kristina 81d192dff0 allow lower-priority members to be elected during step down 2011-04-13 14:29:23 -04:00