Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Server Security
-
Fully Compatible
-
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
Description
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.
Attachments
Issue Links
- 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 documented by
-
DOCS-16534 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
-