diff options
author | Kevin Pulo <kevin.pulo@mongodb.com> | 2019-01-17 11:25:55 +0000 |
---|---|---|
committer | Kevin Pulo <kevin.pulo@mongodb.com> | 2019-02-11 00:41:59 +0000 |
commit | 16c95b240bb34d986bf41d8e20304ba20ce0b7d4 (patch) | |
tree | 42fa6fb5ee373fe61ed74791b26c2a3ef3556afe | |
parent | f287e3ab361d5e03539e7f2ddbbd2ca0b0f7f8b8 (diff) | |
download | mongo-16c95b240bb34d986bf41d8e20304ba20ce0b7d4.tar.gz |
SERVER-39030 fix logging of low cardinality keys in splitVector
-rw-r--r-- | src/mongo/db/s/split_vector_command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/split_vector_command.cpp b/src/mongo/db/s/split_vector_command.cpp index ba4c126680b..4f340930ea3 100644 --- a/src/mongo/db/s/split_vector_command.cpp +++ b/src/mongo/db/s/split_vector_command.cpp @@ -356,7 +356,7 @@ public: // Warn for keys that are more numerous than maxChunkSize allows. for (auto it = tooFrequentKeys.cbegin(); it != tooFrequentKeys.cend(); ++it) { warning() << "possible low cardinality key detected in " << nss.toString() - << " - key is " << prettyKey(idx->keyPattern(), *it); + << " - key is " << redact(prettyKey(idx->keyPattern(), *it)); } // Remove the sentinel at the beginning before returning |