diff options
author | Antonin Kral <a.kral@bobek.cz> | 2011-09-14 17:08:06 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2011-09-14 17:08:06 +0200 |
commit | 5d342a758c6095b4d30aba0750b54f13b8916f51 (patch) | |
tree | 762e9aa84781f5e3b96db2c02d356c29cf0217c0 /jstests/replsets/replsetfreeze.js | |
parent | cbe2d992e9cd1ea66af9fa91df006106775d3073 (diff) | |
download | mongodb-5d342a758c6095b4d30aba0750b54f13b8916f51.tar.gz |
Imported Upstream version 2.0.0
Diffstat (limited to 'jstests/replsets/replsetfreeze.js')
-rw-r--r-- | jstests/replsets/replsetfreeze.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/replsetfreeze.js b/jstests/replsets/replsetfreeze.js index 3721ba5..7096349 100644 --- a/jstests/replsets/replsetfreeze.js +++ b/jstests/replsets/replsetfreeze.js @@ -53,7 +53,7 @@ var master = replTest.getMaster(); print("2: step down m1"); try { - master.getDB("admin").runCommand({replSetStepDown : 1}); + master.getDB("admin").runCommand({replSetStepDown : 1, force : 1}); } catch(e) { print(e); @@ -80,7 +80,7 @@ master = replTest.getMaster(); print("6: step down new master"); try { - master.getDB("admin").runCommand({replSetStepDown : 1}); + master.getDB("admin").runCommand({replSetStepDown : 1, force : 1}); } catch(e) { print(e); |