summaryrefslogtreecommitdiff
path: root/s
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-05-18 17:11:58 -0400
committerEliot Horowitz <eliot@10gen.com>2011-05-18 17:36:55 -0400
commitd010e85f47fecdd7b3a1164260c0bf0bda982ea1 (patch)
treebb7fb09face0819641efb5522be644adb075cdfa /s
parentd2c94bc2c104069141c00ae209ae27f6078507db (diff)
downloadmongo-d010e85f47fecdd7b3a1164260c0bf0bda982ea1.tar.gz
better diagnostic message
Diffstat (limited to 's')
-rw-r--r--s/d_migrate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/d_migrate.cpp b/s/d_migrate.cpp
index 66c9ab5959b..9e44811bf00 100644
--- a/s/d_migrate.cpp
+++ b/s/d_migrate.cpp
@@ -484,7 +484,7 @@ namespace mongo {
<< " ns: " << _ns << " " << _min << " -> " << _max
<< migrateLog;
result.appendBool( "chunkTooBig" , true );
- result.appendNumber( "chunkSize" , (long long)(recCount * avgRecSize) );
+ result.appendNumber( "estimatedChunkSize" , (long long)(recCount * avgRecSize) );
errmsg = "chunk too big to move";
return false;
}