summaryrefslogtreecommitdiff
path: root/src/mongo/db/index
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-05-13 17:30:20 -0400
committerDavid Storch <david.storch@10gen.com>2015-05-13 18:09:56 -0400
commitfa993310f4273db6fde6415bc5d9090e3a87f79e (patch)
treeb7ef83f142418d988eb328744a67a981678421dd /src/mongo/db/index
parent532dfe1180c2da552bebed70af1e7fba34cf355c (diff)
downloadmongo-fa993310f4273db6fde6415bc5d9090e3a87f79e.tar.gz
SERVER-18465 fix confusing warning message for generating too many S2 keys
Diffstat (limited to 'src/mongo/db/index')
-rw-r--r--src/mongo/db/index/expression_keys_private.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/index/expression_keys_private.cpp b/src/mongo/db/index/expression_keys_private.cpp
index 14d049a6c9a..1202b77ce0f 100644
--- a/src/mongo/db/index/expression_keys_private.cpp
+++ b/src/mongo/db/index/expression_keys_private.cpp
@@ -507,9 +507,9 @@ namespace mongo {
}
if (keysToAdd.size() > params.maxKeysPerInsert) {
- warning() << "insert of geo object generated lots of keys (" << keysToAdd.size()
- << ") consider creating larger buckets. obj="
- << obj;
+ warning() << "Insert of geo object generated a high number of keys."
+ << " num keys: " << keysToAdd.size()
+ << " obj inserted: " << obj;
}
*keys = keysToAdd;