<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:55 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-1541] Add support for $comment for profiling</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1541</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I see that the $comment partially made its way into the driver in the form of the &quot;Comment&quot; field for FindOptions. I believe it would be logical to extend its support for other cases that contain queries (updates, FindAndWhatever, aggregation).&lt;/p&gt;

&lt;p&gt;P.S. &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-692&quot; title=&quot;Add support for the $comment meta operator to help with profiling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-692&quot;&gt;&lt;del&gt;CSHARP-692&lt;/del&gt;&lt;/a&gt; resolution is no longer relevant since 3.0 if I understand correctly&lt;/p&gt;</description>
                <environment></environment>
        <key id="259828">CSHARP-1541</key>
            <summary>Add support for $comment for profiling</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="boris.dogadov@mongodb.com">Boris Dogadov</assignee>
                                    <reporter username="onyxmaster">Aristarkh Zagorodnikov</reporter>
                        <labels>
                            <label>size-medium</label>
                    </labels>
                <created>Thu, 21 Jan 2016 08:18:08 +0000</created>
                <updated>Thu, 3 Mar 2022 22:14:14 +0000</updated>
                            <resolved>Fri, 25 Feb 2022 03:59:15 +0000</resolved>
                                    <version>2.2.2</version>
                                    <fixVersion>2.15.0</fixVersion>
                                    <component>Diagnostics</component>
                    <component>Operations</component>
                                        <votes>5</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="4376174" author="xgen-internal-githook" created="Fri, 25 Feb 2022 03:55:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Boris&apos;, &apos;email&apos;: &apos;boris.dogadov@mongodb.com&apos;, &apos;username&apos;: &apos;BorisDog&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1541&quot; title=&quot;Add support for $comment for profiling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1541&quot;&gt;&lt;del&gt;CSHARP-1541&lt;/del&gt;&lt;/a&gt;: Add support for $comment for profiling&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/ba40db6a4614ba251f46f34ac44b861c3a13524e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/ba40db6a4614ba251f46f34ac44b861c3a13524e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3091156" author="onyxmaster" created="Sat, 16 May 2020 19:03:56 +0000"  >&lt;p&gt;The lack of support for $comment in findAnd* commands&#160; makes&#160;implementing a robust end-to-end tracing solution impossible. Any chances this will make into some future release?&lt;/p&gt;</comment>
                            <comment id="1376979" author="rmunn" created="Tue, 6 Sep 2016 07:57:56 +0000"  >&lt;p&gt;I am currently trying to track down an error in a C# application that uses MongoDB queries, and I&apos;m seeing lots of &lt;tt&gt;&quot;$msg&quot; : &quot;query not recording (too large)&quot;&lt;/tt&gt; entries in the Mongo log. A Google search led me to &lt;a href=&quot;http://grokbase.com/t/gg/mongodb-user/122nd2nd3k/query-not-recording-too-large&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://grokbase.com/t/gg/mongodb-user/122nd2nd3k/query-not-recording-too-large&lt;/a&gt; which implied that the &lt;tt&gt;$comment&lt;/tt&gt; functionality should be available in all the officially-supported drivers. Right now its absence means that I can&apos;t easily track down which queries are causing the problem. (I&apos;m getting a MongoWaitQueueException being thrown when I &lt;b&gt;thought&lt;/b&gt; I was using the Mongo connection in a single-threaded way, and I&apos;ve been trying to track it down for two weeks now with no success so far).&lt;/p&gt;

&lt;p&gt;So I, for one, would really appreciate having &lt;tt&gt;$comment&lt;/tt&gt; available so that I could tag each query with the source file and line number (in our C# source) that it came from. That would have been an immense help in my current bug hunt.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;UPDATE&lt;/b&gt;: It turns out that the cause of my problem was a bug in Mono 3.12. I left a comment on &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1144&quot; title=&quot;Investigate tests busting over the wait queue size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1144&quot;&gt;&lt;del&gt;CSHARP-1144&lt;/del&gt;&lt;/a&gt; with all the details.&lt;/p&gt;</comment>
                            <comment id="1153069" author="onyxmaster" created="Mon, 25 Jan 2016 19:53:17 +0000"  >&lt;p&gt;Thank you, Craig, looking forward to any outcome of this.&lt;/p&gt;</comment>
                            <comment id="1153066" author="craiggwilson" created="Mon, 25 Jan 2016 19:51:51 +0000"  >&lt;p&gt;Hi Aristarkh,&lt;/p&gt;

&lt;p&gt;I&apos;m looking into this. The documentation certainly implies what you are hearing. I haven&apos;t been made aware of this feature. I&apos;m going to re-open this ticket as it seems to be a legitimate request.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1149895" author="onyxmaster" created="Thu, 21 Jan 2016 15:07:17 +0000"  >&lt;p&gt;After reading the docs (&lt;a href=&quot;https://docs.mongodb.org/v3.2/reference/operator/query/comment/#behavior&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.org/v3.2/reference/operator/query/comment/#behavior&lt;/a&gt;) I was under impression that $comment is supported everywhere when matching is involved, incliding update query filters and $match aggregation pipeline fragments. Is this a documentation issue?&lt;/p&gt;</comment>
                            <comment id="1149790" author="craiggwilson" created="Thu, 21 Jan 2016 14:18:15 +0000"  >&lt;p&gt;Hi Aristarkh,&lt;/p&gt;

&lt;p&gt;Commenting has been available in the driver for a long time. In 2.0, we made it a named parameter, but it could always have been passed as a modifier. However, comments are not available for all commands. In fact, it is only available for the find command (and the old OP_QUERY) stuff. This translates to it only being available in FindOptions. If you are interested in this feature for other things, I&apos;d suggest you file a server ticket.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1903832">CSHARP-3929</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1987260">CSHARP-4067</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="938817">DRIVERS-742</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000wWjVgQAK]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr4a5b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>