<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:47 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-38377] Additional logging for storage and replication initialization phases</title>
                <link>https://jira.mongodb.org/browse/SERVER-38377</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There are certain cases where the MongoDB process isn&apos;t producing enough logs:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;If a MongoDB process crashes when an index build is in progress and the index build is retried (replica set member or standalone not using &lt;tt&gt;noIndexBuildRetry&lt;/tt&gt;) the index build is performed before the MongoDB process initializes replication.&lt;/li&gt;
	&lt;li&gt;No explicit log entries are made regarding the retried index build.&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;If a MongoDB process recovers the last clean checkpoint and there are many time consuming operations to rollback. This is also done before the MongoDB process initializes networking and replication.&lt;/del&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Please add more explicit logging for this kind of recovery operations performed at mongod startup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="642271">SERVER-38377</key>
            <summary>Additional logging for storage and replication initialization phases</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="13202">Works as Designed</resolution>
                                        <assignee username="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="emilio.scalise@mongodb.com">Emilio Scalise</reporter>
                        <labels>
                            <label>SWDI</label>
                    </labels>
                <created>Mon, 3 Dec 2018 21:21:32 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:23 +0000</updated>
                            <resolved>Fri, 20 Mar 2020 18:24:08 +0000</resolved>
                                                                    <component>Logging</component>
                    <component>Replication</component>
                    <component>Storage</component>
                                        <votes>1</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="2990000" author="milkie" created="Fri, 20 Mar 2020 18:24:08 +0000"  >&lt;p&gt;With the conclusion of the Simultaneous Index Builds on All Nodes project, version 4.4 will no longer block on startup to build indexes (except single-phase indexes started under FCV 4.2).  Thus, there are no index builds at startup to add logging for.&lt;/p&gt;</comment>
                            <comment id="2116087" author="milkie" created="Tue, 15 Jan 2019 19:20:30 +0000"  >&lt;p&gt;I will edit the description to make this ticket only involve 1 and 2, eliminating number 3, and we&apos;ll just resolve it after the project is done.&lt;/p&gt;</comment>
                            <comment id="2116045" author="jesse" created="Tue, 15 Jan 2019 18:59:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt; if numbers 1 and 2 will be handled during the Simultaneous Index Build project, is there a ticket I can make this one depend on?&lt;/p&gt;</comment>
                            <comment id="2109151" author="jesse" created="Tue, 8 Jan 2019 21:00:48 +0000"  >&lt;p&gt;Hi Emilio, I talked with Tess about this ticket and we&apos;re still not sure what your number 3 in the original description is about. When the node restarts, WiredTiger itself doesn&apos;t need to do significant operations to assemble valid data files. The replication system, when it&apos;s replaying oplog entries, logs like this at the default verbosity:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2019-01-08T15:47:07.675-0500 I REPL     [initandlisten] Recovering from stable timestamp: Timestamp(1546980394, 6) (top of oplog: { ts: Timestamp(1546980425, 3000), t: 2 }, appliedThrough: { ts: Timestamp(0, 0), t: -1 }, TruncateAfter: Timestamp(0, 0))&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2019-01-08T15:47:07.675-0500 I REPL     [initandlisten] Starting recovery oplog application at the stable timestamp: Timestamp(1546980394, 6)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2019-01-08T15:47:07.675-0500 I REPL     [initandlisten] Replaying stored operations from { : Timestamp(1546980394, 6) } (exclusive) to { : Timestamp(1546980425, 3000) } (inclusive).&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;If someone is waiting for a node to start listening, the logs &lt;b&gt;do&lt;/b&gt; describe why the node isn&apos;t listening yet. Is there anything missing from these logs that you&apos;d expect to see?&lt;/p&gt;</comment>
                            <comment id="2100855" author="milkie" created="Thu, 27 Dec 2018 13:31:37 +0000"  >&lt;p&gt;I&apos;m moving this to the replication team. &#160;Number 1 and 2 will already be taken care of by the Simultaneous Index Build project, while number 3 is regarding how replication replays oplog on startup.&lt;/p&gt;</comment>
                            <comment id="2094298" author="milkie" created="Tue, 18 Dec 2018 14:17:49 +0000"  >&lt;p&gt;How are you starting this mongod process?&#160; Is it just a standalone process or is part of a replica set?&lt;/p&gt;</comment>
                            <comment id="2094286" author="milkie" created="Tue, 18 Dec 2018 14:06:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emilio.scalise&quot; class=&quot;user-hover&quot; rel=&quot;emilio.scalise&quot;&gt;emilio.scalise&lt;/a&gt; can you give an example for number 3 in the description?&lt;/p&gt;</comment>
                            <comment id="2094273" author="milkie" created="Tue, 18 Dec 2018 14:01:15 +0000"  >&lt;p&gt;I&apos;m going to edit some of the details of this ticket.  Index rebuilding at startup time is not specific to WiredTiger.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="429100">SERVER-31149</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 18 Dec 2018 14:01:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 46 weeks, 5 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>false</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, 46 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>emilio.scalise@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hueben:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr64l3:</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="2630">Storage NYC 2018-12-31</customfieldvalue>
    <customfieldvalue id="2701">Repl 2019-01-14</customfieldvalue>
    <customfieldvalue id="3633">Execution Team 2020-04-06</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|hudxnz:</customfieldvalue>

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