<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:07:08 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-44841] Revisit log levels for new migration protocol</title>
                <link>https://jira.mongodb.org/browse/SERVER-44841</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It&apos;s helpful to have log level 0 for the new components we&apos;re adding for a little while to aid in debugging test failures in evergreen but we should more carefully decide which to keep at level 0 and which to decrease.&lt;/p&gt;

&lt;p&gt;Also, we should decide whether to use the thread name as an identifier for log lines from range deletion code, or whether to introduce a new log component.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1025836">SERVER-44841</key>
            <summary>Revisit log levels for new migration protocol</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="alex.taskov@mongodb.com">Alexander Taskov</assignee>
                                    <reporter username="matthew.saltz@mongodb.com">Matthew Saltz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Nov 2019 15:25:38 +0000</created>
                <updated>Sun, 29 Oct 2023 22:14:35 +0000</updated>
                            <resolved>Mon, 2 Mar 2020 13:53:43 +0000</resolved>
                                                    <fixVersion>4.3.4</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3057723" author="xgen-internal-githook" created="Tue, 28 Apr 2020 00:16:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44841&quot; title=&quot;Revisit log levels for new migration protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44841&quot;&gt;&lt;del&gt;SERVER-44841&lt;/del&gt;&lt;/a&gt; change log component string MIGRATION =&amp;gt; MIGRATE&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2638bf93b6af37b1c71dcbd60947f4a1973222a7)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/451c11f3e483fb89fdc2f7d4368d8c8d1d2f4cc4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/451c11f3e483fb89fdc2f7d4368d8c8d1d2f4cc4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3021259" author="billy.donahue" created="Wed, 1 Apr 2020 15:53:34 +0000"  >&lt;p&gt;Created &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47227&quot; title=&quot;rename LogComponent MIGRATION to MIGRATE&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47227&quot;&gt;&lt;del&gt;SERVER-47227&lt;/del&gt;&lt;/a&gt; to track just the rename of MIGRATION to MIGRATE specifically.&lt;/p&gt;

&lt;p&gt;I was being lazy and hoping to avoid a separate ticket, but I&apos;ll need to track backporting and don&apos;t want to keep spamming this larger and closed ticket.&lt;/p&gt;</comment>
                            <comment id="3021254" author="billy.donahue" created="Wed, 1 Apr 2020 15:51:44 +0000"  >&lt;p&gt;There&apos;s still an 8-character limitation, it&apos;s just not tested anymore.&lt;/p&gt;


&lt;p&gt;This is not a technical limitation, but we have opted to pad the first few json fields and having one that&apos;s 9 chars harshes the feng shui of the logs. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;


&lt;p&gt;We still have code that uses the v1 API and some converter helpers. Until that&apos;s no longer the case we have to keep the v1 and v2 enums in sync.&lt;/p&gt;</comment>
                            <comment id="3021155" author="xgen-internal-githook" created="Wed, 1 Apr 2020 15:15:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44841&quot; title=&quot;Revisit log levels for new migration protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44841&quot;&gt;&lt;del&gt;SERVER-44841&lt;/del&gt;&lt;/a&gt; change log component string MIGRATION =&amp;gt; MIGRATE&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2638bf93b6af37b1c71dcbd60947f4a1973222a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2638bf93b6af37b1c71dcbd60947f4a1973222a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3020754" author="alex.taskov" created="Wed, 1 Apr 2020 12:27:38 +0000"  >&lt;p&gt;It&apos;s unfortunate that the new component name has to be bound by the limitations of the legacy one. Out of curiosity, why do they have to match? I thought the plan was to remove the legacy component when everything has been migrated to the v2 component. The preferred name is MIGRATION however for the legacy component we had to compromise to MIGRATE because of the 8 character limitation.&lt;/p&gt;</comment>
                            <comment id="3020453" author="billy.donahue" created="Wed, 1 Apr 2020 04:16:13 +0000"  >&lt;p&gt;LogComponent &quot;MIGRATION&quot; =&amp;gt; &quot;MIGRATE&quot; change&lt;br/&gt;
 CR &lt;a href=&quot;https://mongodbcr.appspot.com/563350001/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodbcr.appspot.com/563350001/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3020449" author="billy.donahue" created="Wed, 1 Apr 2020 04:08:13 +0000"  >&lt;p&gt;A new LogComponent was created by the commit for this ticket, in both the logger (log v1) and logv2 libraries.&lt;br/&gt;
The logger::LogComponent is logged as &quot;MIGRATE&quot;.&lt;br/&gt;
The logv2::LogComponent is logged as &quot;MIGRATION&quot;.&lt;/p&gt;

&lt;p&gt;The logger and the logv2 have to agree on the name of the component.&lt;br/&gt;
Also, we need this field to be 8 characters or less.&lt;/p&gt;

&lt;p&gt;So I&apos;m going to change the logv2 component to appear as &quot;MIGRATE&quot; to match the logger component.&lt;br/&gt;
I assume this won&apos;t mess anything up on your end. Please let me know if I&apos;m wrong about that.&lt;br/&gt;
Thanks.&lt;/p&gt;</comment>
                            <comment id="2919405" author="xgen-internal-githook" created="Sat, 29 Feb 2020 00:29:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Alex Taskov&apos;, &apos;username&apos;: &apos;alextaskov&apos;, &apos;email&apos;: &apos;alex.taskov@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44841&quot; title=&quot;Revisit log levels for new migration protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44841&quot;&gt;&lt;del&gt;SERVER-44841&lt;/del&gt;&lt;/a&gt; Revisit log levels for new migration protocol&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e4673d051856772b44642abf4ebef38a3086a188&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e4673d051856772b44642abf4ebef38a3086a188&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2904561" author="esha.maharishi@10gen.com" created="Mon, 24 Feb 2020 14:48:03 +0000"  >&lt;p&gt;There are a few things I think we could do to improve logging for the range deleter:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Add a new range-deleter specific log component. It looks like &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/logv2/log_component.h#L45-L78&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this has the list of the new logging system&apos;s (logv2) components&lt;/a&gt;, and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/logger/log_component.h#L45-L75&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this is the list of the old logging system&apos;s components&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Change the default log component in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/db/s/migration_coordinator.cpp#L30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;migration_coordinator.cpp&lt;/a&gt;, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/db/s/migration_util.cpp#L30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;migration_util.cpp&lt;/a&gt;, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/db/s/range_deletion_util.cpp#L30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;range_deletion_util.cpp&lt;/a&gt; to the new component&lt;/li&gt;
	&lt;li&gt;It looks like the new logging system&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/logv2/README.md#log-component&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;has a way&lt;/a&gt; to set the log component just for a specific log line in a file, though I haven&apos;t tried it yet. We could also audit the log lines in the MigrationSourceManager, CollectionShardingRuntime, and MetadataManager and override the log component for any specific lines that are related to range deletion. For example, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/db/s/metadata_manager.cpp#L347&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/src/mongo/db/s/metadata_manager.cpp#L362&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; in the MetadataManager&lt;/li&gt;
	&lt;li&gt;Lower the verbosity of range deletion log lines from level 0 to level 1 or 2 (depending on the line) so that they do not flood users&apos; logs&lt;/li&gt;
	&lt;li&gt;However, so that we can still see all the log lines in our tests, make our tests set the verbosity for the new range deletion component to level 2 (see what we &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d5454069f8ac23e69bb3c828749c20ef5f3ff424/buildscripts/resmokelib/core/programs.py#L25-L32&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;similarly did for the transaction log component&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1300184">SERVER-47227</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>9.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_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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 24 Feb 2020 14:48:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 41 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_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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-812</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, 41 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.taskov@mongodb.com</customfieldvalue>
            <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>matthew.saltz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw6anj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwd85r:</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="3653">Sharding 2020-03-09</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|hw5wwv:</customfieldvalue>

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