diff options
author | Kyle Banker <kylebanker@gmail.com> | 2010-09-03 14:57:36 -0400 |
---|---|---|
committer | Kyle Banker <kylebanker@gmail.com> | 2010-09-03 14:57:36 -0400 |
commit | 3c8722269e8d49100babb969f07251d84dd54794 (patch) | |
tree | 4aeccb33dfb4c633a22fa80c02748903cda755ca | |
parent | fe341ea9e06d7103cf4efbdaf30844582b02bcb5 (diff) | |
download | mongo-3c8722269e8d49100babb969f07251d84dd54794.tar.gz |
SERVER-1598 minor: comment clarification
-rw-r--r-- | jstests/replsets/replset5.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/jstests/replsets/replset5.js b/jstests/replsets/replset5.js index 2f088893f4c..13ee5c99b23 100644 --- a/jstests/replsets/replset5.js +++ b/jstests/replsets/replset5.js @@ -29,10 +29,9 @@ doTest = function (signal) { master.getDB(testDB).foo.insert({ n: n });
} - // *** NOTE ***: The default doesn't seem to be propogating. - // When I run getlasterror with no defaults, the slaves don't have the data:
- // These getlasterror commands can be run individually to verify this. - //master.getDB("admin").runCommand({ getlasterror: 1, w: 1, wtimeout: 20000 });
+ // If you want to test failure, just add values for w and wtimeout + // to the following command. This will override the default set above and + // prevent replication from happening in time for the count tests below. master.getDB("admin").runCommand({getlasterror: 1});
var slaves = replTest.liveNodes.slaves;
|