summaryrefslogtreecommitdiff
path: root/db/cmdline.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-19 16:44:47 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-19 16:44:47 -0400
commit41f0163961815a34317c643f341a9de8efab4a6d (patch)
tree9bb186cd518cf1f83267a897ac3fdda53ef87cb3 /db/cmdline.h
parentf001dea20cf1a13bc4b56af1238fed1a0266c6d9 (diff)
downloadmongo-41f0163961815a34317c643f341a9de8efab4a6d.tar.gz
be paranoid about removing data in moveChunk SERVER-1428
option to turn it off
Diffstat (limited to 'db/cmdline.h')
-rw-r--r--db/cmdline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/cmdline.h b/db/cmdline.h
index 8be819bee21..ad40e884b72 100644
--- a/db/cmdline.h
+++ b/db/cmdline.h
@@ -45,6 +45,7 @@ namespace mongo {
int slowMS; // --time in ms that is "slow"
int pretouch; // --pretouch for replication application (experimental)
+ bool moveParanoia; // for move chunk paranoia
enum {
DefaultDBPort = 27017,
@@ -54,7 +55,7 @@ namespace mongo {
CmdLine() :
port(DefaultDBPort), rest(false), quiet(false), notablescan(false), prealloc(true), smallfiles(false),
- quota(false), quotaFiles(8), cpu(false), oplogSize(0), defaultProfile(0), slowMS(100)
+ quota(false), quotaFiles(8), cpu(false), oplogSize(0), defaultProfile(0), slowMS(100), pretouch(0), moveParanoia( true )
{ }