diff options
-rw-r--r-- | src/mongo/db/s/split_vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/split_vector.cpp b/src/mongo/db/s/split_vector.cpp index 8d759163347..3ec13d27614 100644 --- a/src/mongo/db/s/split_vector.cpp +++ b/src/mongo/db/s/split_vector.cpp @@ -253,7 +253,7 @@ StatusWith<std::vector<BSONObj>> splitVector(OperationContext* opCtx, // 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 |