diff options
author | David Storch <david.storch@10gen.com> | 2015-05-13 17:30:20 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-05-13 18:09:56 -0400 |
commit | fa993310f4273db6fde6415bc5d9090e3a87f79e (patch) | |
tree | b7ef83f142418d988eb328744a67a981678421dd /src/mongo/db/index | |
parent | 532dfe1180c2da552bebed70af1e7fba34cf355c (diff) | |
download | mongo-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.cpp | 6 |
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; |