[SERVER-41763] Remove comment when truncating queries Created: 14/Jun/19  Updated: 29/Oct/23  Resolved: 23/Jun/20

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Major - P3
Reporter: David Bartley Assignee: Mindaugas Malinauskas
Resolution: Fixed Votes: 0
Labels: neweng, qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-06-01, Query 2020-06-15, Query 2020-06-29
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 23/Jun/20 ]

Author:

{'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}

Message: SERVER-41763 Remove comment when truncating queries
Branch: master
https://github.com/mongodb/mongo/commit/7b63a7c1e2a845fd0a87f6c19e3d7bf245905b6c

Comment by Kelsey Schubert [ 14/Jun/19 ]

Thanks for the improvement request, bartle. I've sent it along to the Query team for consideration.

Generated at Thu Feb 08 04:58:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.