From 41f0163961815a34317c643f341a9de8efab4a6d Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 19 Jul 2010 16:44:47 -0400 Subject: be paranoid about removing data in moveChunk SERVER-1428 option to turn it off --- db/cmdline.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'db/cmdline.h') 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 ) { } -- cgit v1.2.1