<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:50:07 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>[SERVER-38809] Ensure &quot;comment&quot; field is always present in logfile entries, even when maxLogSizeKB is exceeded</title>
                <link>https://jira.mongodb.org/browse/SERVER-38809</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The &quot;comment&quot; ($comment) field in various database commands is often used to track the source/nature of an operation for special purposes such as performance management.&lt;/p&gt;

&lt;p&gt;In some cases, this field can be elided in log entries that exceed &lt;tt&gt;maxLogSizeKB&lt;/tt&gt;&#160;, impairing the manageability of the database.&lt;/p&gt;

&lt;p&gt;Please provide a means to ensure that the &lt;tt&gt;comment&lt;/tt&gt; field is always logged.&lt;/p&gt;</description>
                <environment></environment>
        <key id="664399">SERVER-38809</key>
            <summary>Ensure &quot;comment&quot; field is always present in logfile entries, even when maxLogSizeKB is exceeded</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="3">Duplicate</resolution>
                                        <assignee username="asya.kamsky@mongodb.com">Asya Kamsky</assignee>
                                    <reporter username="mark.brinsmead@mongodb.com">Mark Brinsmead</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2019 18:39:48 +0000</created>
                <updated>Mon, 7 Jan 2019 19:48:56 +0000</updated>
                            <resolved>Fri, 4 Jan 2019 18:38:42 +0000</resolved>
                                                                    <component>Logging</component>
                                        <votes>1</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="2107649" author="asya" created="Mon, 7 Jan 2019 19:48:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=uma.west%40rbs.com&quot; class=&quot;user-hover&quot; rel=&quot;uma.west@rbs.com&quot;&gt;uma.west@rbs.com&lt;/a&gt; the comment in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36441&quot; title=&quot;Don&amp;#39;t truncate &amp;#39;comment&amp;#39; command parameter in the slow query logs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36441&quot;&gt;SERVER-36441&lt;/a&gt; points out that it&apos;s tracking the same work we already did for currentOp command under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27439&quot; title=&quot;Large queries can omit comment in currentOp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27439&quot;&gt;&lt;del&gt;SERVER-27439&lt;/del&gt;&lt;/a&gt; - it&apos;s not clear from the title but &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36441&quot; title=&quot;Don&amp;#39;t truncate &amp;#39;comment&amp;#39; command parameter in the slow query logs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36441&quot;&gt;SERVER-36441&lt;/a&gt; tracks both, not omitting the comment field when the full log line exceeds maximum and also not to truncate the contents of comment when the log line does not exceed the maximum.   I&apos;ll try to make it more clear in the description.&lt;/p&gt;</comment>
                            <comment id="2106806" author="uma.west@rbs.com" created="Mon, 7 Jan 2019 09:41:59 +0000"  >&lt;p&gt;Asya,&lt;/p&gt;

&lt;p&gt;They are different from a user perspective.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36441&quot; title=&quot;Don&amp;#39;t truncate &amp;#39;comment&amp;#39; command parameter in the slow query logs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36441&quot;&gt;SERVER-36441&lt;/a&gt; is to not truncate `$comment` when it is more than 150 characters (while the total log size is below the&#160;`maxLogSizeKB`).&#160; Currently, say total log length is 5KB and `$comment` length is 160 characters the log line is printed fully (with default `maxLogSizeKB`) but the `$comment` is truncated to 150 characters though the total log size can allow more characters.&lt;/p&gt;

&lt;p&gt;This one (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38809&quot; title=&quot;Ensure &amp;quot;comment&amp;quot; field is always present in logfile entries, even when maxLogSizeKB is exceeded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38809&quot;&gt;&lt;del&gt;SERVER-38809&lt;/del&gt;&lt;/a&gt;) is to not truncate the `comment` field (say 100 characters) within the log when the total log size is more than `maxLogSizeKB`&#160; (some others fields in the log might be truncated). Say total log length is 12KB, while some of the fields like `filter` or `planSummary` are truncated can `comment` field be printed in full (as per &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36441&quot; title=&quot;Don&amp;#39;t truncate &amp;#39;comment&amp;#39; command parameter in the slow query logs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36441&quot;&gt;SERVER-36441&lt;/a&gt; limits) within the log for performance analysis purposes.&lt;/p&gt;</comment>
                            <comment id="2105859" author="asya" created="Fri, 4 Jan 2019 18:38:42 +0000"  >&lt;p&gt;This appears to be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36441&quot; title=&quot;Don&amp;#39;t truncate &amp;#39;comment&amp;#39; command parameter in the slow query logs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36441&quot;&gt;SERVER-36441&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If I misread something and it&apos;s not, please reopen and clarify the differences.&lt;/p&gt;</comment>
                            <comment id="2103907" author="kevin.pulo@10gen.com" created="Thu, 3 Jan 2019 00:09:13 +0000"  >&lt;p&gt;As a possible partial workaround, it would help to minimise the occurrence of this if drivers ensured that the &lt;tt&gt;comment&lt;/tt&gt; field was placed immediately after the command (and similarly any &lt;tt&gt;$comment&lt;/tt&gt; field first in any &lt;tt&gt;query&lt;/tt&gt; predicate).  However, current driver behaviour in this regard likely varies, and they are unlikely to provide any user-facing control over when/where this field is placed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="583224">SERVER-36441</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="664393">SERVER-38808</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000cyKRdQAM]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 Jan 2019 18:51:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 5 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 5 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.brinsmead@mongodb.com</customfieldvalue>
            <customfieldvalue>uma.west@rbs.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hui0fj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu81av:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huhmov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>