-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
Fully Compatible
-
v7.0, v6.0, v5.0
-
Security 2023-07-10, Security 2023-07-24, Security 2023-08-07, Security 2023-08-21, Security 2023-10-16, Security 2023-11-13, Security 2023-11-27, Security 2023-12-11
When running a simple find command with over 5000 elements in $in clause, the output in the log line is:
... _id:{$in:[ <truncated list of 377 out of 5000 values> ] ... { "truncated" : { "command" : { "filter" : { "_id" : { "$in" : { "377" : { "type" : "string", "size" : 29 } } } } } },
I'd love to know how many actual values were truncated which is what I thought it would show but it seems instead to show how many are written.
- is depended on by
-
TOOLS-3443 Investigate changes in SERVER-78241: truncated log line shows number of remaining strings instead of truncated strings
- Closed
- is related to
-
SERVER-55276 Log gets incorrectly truncated in case of long $in list
- Backlog