-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics
-
Fully Compatible
-
Query 2020-06-01, Query 2020-06-15, Query 2020-06-29
If a query is too long, it'll be truncated when it appears in logs and currentOp. Per SERVER-27439 and SERVER-23260, the comment will be appended if a query is truncated. However, the comment will still appear in the query, so it might end up being included twice. It'd be great if the comment was removed from the query if it was being appended anyway.