<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:19:04 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-49151] Fix malformed LOGV2 and assertion IDs</title>
                <link>https://jira.mongodb.org/browse/SERVER-49151</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;According to the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/logv2/README.md&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;LOGV2 documentation&lt;/a&gt;,&#160;programmers should use the following to choose log IDs:&lt;/p&gt;
&lt;div class=&quot;panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot;&gt;
&lt;p&gt;The ID is a signed 32bit integer in the same number space as the error code numbers. It is used to uniquely identify a log statement. If changing existing code, using a new ID is strongly advised to avoid any parsing ambiguity. When selecting ID during work on JIRA ticket &lt;tt&gt;SERVER-ABCDE&lt;/tt&gt; you can use the JIRA ticket number to avoid ID collisions with other engineers by taking ID from the range &lt;tt&gt;ABCDE00&lt;/tt&gt; - &lt;tt&gt;ABCDE99&lt;/tt&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;However, there are multiple instances in the code-base such as &lt;a href=&quot;https://github.com/mongodb/mongo/blob/31499dd163068b6c70a1d2a072aaa9576a628ff0/src/mongo/db/s/migration_util.cpp#L790&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this one&lt;/a&gt;, where we have not followed the above pattern to pick log and assertion identifiers. This ticket should find all instances of malformed LOGV2 and assertion identifiers and replace them with new IDs, generated by employing the above pattern.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1393228">SERVER-49151</key>
            <summary>Fix malformed LOGV2 and assertion IDs</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="amirsaman.memaripour@mongodb.com">Amirsaman Memaripour</assignee>
                                    <reporter username="amirsaman.memaripour@mongodb.com">Amirsaman Memaripour</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Jun 2020 18:02:50 +0000</created>
                <updated>Mon, 8 Jan 2024 15:23:05 +0000</updated>
                            <resolved>Thu, 2 Jul 2020 00:57:45 +0000</resolved>
                                                    <fixVersion>4.4.0-rc13</fixVersion>
                    <fixVersion>4.7.0</fixVersion>
                                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3268847" author="xgen-internal-githook" created="Thu, 2 Jul 2020 17:40:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Amirsaman Memaripour&apos;, &apos;email&apos;: &apos;amirsaman.memaripour@mongodb.com&apos;, &apos;username&apos;: &apos;samanca&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49151&quot; title=&quot;Fix malformed LOGV2 and assertion IDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49151&quot;&gt;&lt;del&gt;SERVER-49151&lt;/del&gt;&lt;/a&gt; Fix linter to prevent malformed LOGV2 and assertion IDs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 813c96fc1e6d6e5ea422356352b671c3af3e403d)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5fc5142d5827c0c2066759f3d228a0db9812ccd1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5fc5142d5827c0c2066759f3d228a0db9812ccd1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3268846" author="xgen-internal-githook" created="Thu, 2 Jul 2020 17:39:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Amirsaman Memaripour&apos;, &apos;email&apos;: &apos;amirsaman.memaripour@mongodb.com&apos;, &apos;username&apos;: &apos;samanca&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49151&quot; title=&quot;Fix malformed LOGV2 and assertion IDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49151&quot;&gt;&lt;del&gt;SERVER-49151&lt;/del&gt;&lt;/a&gt; Fix malformed LOGV2 and assertion IDs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d4e7ea57599b44353b5393afedee8ae5670837b3)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5d7adc4ee20c0fe752d072021efa484b5f86f894&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5d7adc4ee20c0fe752d072021efa484b5f86f894&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3267143" author="thomas.schubert" created="Thu, 2 Jul 2020 00:32:39 +0000"  >&lt;p&gt;We should complete the backport, so we don&apos;t have backwards breaking changes. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jonathan.streets&quot; class=&quot;user-hover&quot; rel=&quot;jonathan.streets&quot;&gt;jonathan.streets&lt;/a&gt;, can you provide access to directly push?&lt;/p&gt;</comment>
                            <comment id="3266978" author="xgen-internal-githook" created="Wed, 1 Jul 2020 23:10:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Amirsaman Memaripour&apos;, &apos;email&apos;: &apos;amirsaman.memaripour@mongodb.com&apos;, &apos;username&apos;: &apos;samanca&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49151&quot; title=&quot;Fix malformed LOGV2 and assertion IDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49151&quot;&gt;&lt;del&gt;SERVER-49151&lt;/del&gt;&lt;/a&gt; Fix linter to prevent malformed LOGV2 and assertion IDs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/813c96fc1e6d6e5ea422356352b671c3af3e403d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/813c96fc1e6d6e5ea422356352b671c3af3e403d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3262922" author="xgen-internal-githook" created="Wed, 1 Jul 2020 16:22:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Amirsaman Memaripour&apos;, &apos;email&apos;: &apos;amirsaman.memaripour@mongodb.com&apos;, &apos;username&apos;: &apos;samanca&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49151&quot; title=&quot;Fix malformed LOGV2 and assertion IDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49151&quot;&gt;&lt;del&gt;SERVER-49151&lt;/del&gt;&lt;/a&gt; Fix malformed LOGV2 and assertion IDs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d4e7ea57599b44353b5393afedee8ae5670837b3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d4e7ea57599b44353b5393afedee8ae5670837b3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3260966" author="bruce.lucas@10gen.com" created="Wed, 1 Jul 2020 13:06:07 +0000"  >&lt;p&gt;We should not do this at all &lt;em&gt;unless&lt;/em&gt; we backport, preferrably to 4.4.0 if at all possible, as it is a breaking change.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kelsey.schubert&quot; class=&quot;user-hover&quot; rel=&quot;kelsey.schubert&quot;&gt;kelsey.schubert&lt;/a&gt; can we get this into 4.4.0 if we get it done this week?&lt;/p&gt;</comment>
                            <comment id="3231325" author="amirsaman.memaripour" created="Tue, 30 Jun 2020 21:51:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mira.carey%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mira.carey@mongodb.com&quot;&gt;mira.carey@mongodb.com&lt;/a&gt;&#160;and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kelsey.schubert&quot; class=&quot;user-hover&quot; rel=&quot;kelsey.schubert&quot;&gt;kelsey.schubert&lt;/a&gt;, we may want to backport this (and potentially the linter) to v4.4 to fix malformed LOGV2 IDs before the release.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bruce.lucas&quot; class=&quot;user-hover&quot; rel=&quot;bruce.lucas&quot;&gt;bruce.lucas&lt;/a&gt;&#160;and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=billy.donahue&quot; class=&quot;user-hover&quot; rel=&quot;billy.donahue&quot;&gt;billy.donahue&lt;/a&gt;, feel free to add more justification on why we would need to backport.&lt;/p&gt;</comment>
                            <comment id="3230187" author="billy.donahue" created="Tue, 30 Jun 2020 14:55:05 +0000"  >&lt;p&gt;Because it affects asserts as well as LOGV2, it might not be &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47924&quot; title=&quot;Create a LOGV2 style linter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47924&quot;&gt;&lt;del&gt;SERVER-47924&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I think this is the better ticket number to use.&lt;/p&gt;</comment>
                            <comment id="3229737" author="bruce.lucas@10gen.com" created="Tue, 30 Jun 2020 11:24:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=billy.donahue&quot; class=&quot;user-hover&quot; rel=&quot;billy.donahue&quot;&gt;billy.donahue&lt;/a&gt;, regarding a linter for this, I guess this would be part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47924&quot; title=&quot;Create a LOGV2 style linter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47924&quot;&gt;&lt;del&gt;SERVER-47924&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="3227201" author="bruce.lucas@10gen.com" created="Sat, 27 Jun 2020 11:17:10 +0000"  >&lt;p&gt;As discussed elsewhere, if we can get these fixes in 4.4.0 I think there is no problem.&lt;/p&gt;</comment>
                            <comment id="3226499" author="billy.donahue" created="Fri, 26 Jun 2020 21:11:55 +0000"  >&lt;p&gt;Might involve a linter to keep new codes looking reasonable. Nothing too fancy, hopefully.&lt;/p&gt;</comment>
                            <comment id="3226357" author="billy.donahue" created="Fri, 26 Jun 2020 19:46:48 +0000"  >&lt;p&gt;Yes, let&apos;s discuss the details. I&apos;d appreciate your input on how far these IDs have propagated.&lt;br/&gt;
They have only existed for 4 months and aren&apos;t in a release yet so I hope there&apos;s time to renumber them.&lt;br/&gt;
There aren&apos;t that many, so we can audit them to see whether they&apos;re likely to be of downstream interest.&lt;/p&gt;</comment>
                            <comment id="3226338" author="bruce.lucas@10gen.com" created="Fri, 26 Jun 2020 19:33:56 +0000"  >&lt;p&gt;Let&apos;s please discuss before doing this. Changing log ids has the potential to break downstream code that analyzes logs. It may be better to live with some log ids that don&apos;t follow the pattern than to make this breaking change, partly depending on when we make this change.&lt;/p&gt;</comment>
                            <comment id="3226189" author="billy.donahue" created="Fri, 26 Jun 2020 18:15:45 +0000"  >&lt;p&gt;I tried to find more of them. This only finds those for which the ID is on the same line as LOGV2* though. 33 hits.&#160; First one to appear was on 2020-03-05&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gist.github.com/BillyDonahue/3279d262a89f9ee7047da0b4548b5df0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/BillyDonahue/3279d262a89f9ee7047da0b4548b5df0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1393236">SERVER-49153</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1378438">SERVER-48719</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>14.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 26 Jun 2020 18:15:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 31 weeks, 6 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 31 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>amirsaman.memaripour@mongodb.com</customfieldvalue>
            <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxs2v3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxf1dr:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3953">Service arch 2020-07-13</customfieldvalue>

                        </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|hxrp4f:</customfieldvalue>

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