[SERVER-27439] Large queries can omit comment in currentOp Created: 15/Dec/16  Updated: 06/Sep/18  Resolved: 02/Aug/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 3.4.0
Fix Version/s: 3.5.5

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Bernard Gorman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-10060 Docs for SERVER-27439: Large queries ... Closed
Duplicate
is duplicated by SERVER-1794 make CurOp query's lifespan same as t... Closed
Related
related to SERVER-36441 Don't truncate 'comment' command para... Backlog
Backwards Compatibility: Minor Change
Backport Requested:
v3.4
Sprint: Query 2017-01-23, Query 2017-02-13, Query 2017-03-27
Participants:
Case:

 Description   

Since the main purpose of a user-specified comment is to allow a query/aggregation to be easily identified and traced through its execution, the comment should always be visible in currentOp, profiler and logs. SERVER-23260 addressed this issue for 3.4 profiler and logs, but in cases where a query is too large for currentOp it is converted to a string and truncated, which can again elide the comment.



 Comments   
Comment by Githook User [ 22/Mar/17 ]

Author:

{u'username': u'gormanb', u'name': u'Bernard Gorman', u'email': u'bernard.gorman@gmail.com'}

Message: SERVER-27439 Large queries can omit comment in currentOp
Branch: master
https://github.com/mongodb/mongo/commit/51d8b9c2f5eafc457f889d9786ebd68e4398ba64

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