<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:42:27 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-36227] Improve logging when awaitReplication hangs</title>
                <link>https://jira.mongodb.org/browse/SERVER-36227</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;1. Add recovery component logging to more test suites so that we can see updates to the stable timestamp&lt;br/&gt;
2. Add information about all the opTimes that we keep track of to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/bb20b6376c4388c888cec6f1f7d8c4f2e766c1bf/src/mongo/db/repl/topology_coordinator.cpp#L1610-L1632&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replicationProgress&lt;/a&gt; to display more information in the case of a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/bb20b6376c4388c888cec6f1f7d8c4f2e766c1bf/src/mongo/db/repl/replication_coordinator_impl.cpp#L1591-L1593&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;timeout in awaitReplication&lt;/a&gt;&lt;br/&gt;
3. Add a timeout in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/bb20b6376c4388c888cec6f1f7d8c4f2e766c1bf/src/mongo/db/read_concern.cpp#L386-L387&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;waitForLinearizableReadConcern&lt;/a&gt; when we&apos;re testing so that we can make sure that replicationProgress is printed out to help in debugging.&lt;/p&gt;</description>
                <environment></environment>
        <key id="574205">SERVER-36227</key>
            <summary>Improve logging when awaitReplication hangs</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="samy.lanka@mongodb.com">Samyukta Lanka</assignee>
                                    <reporter username="samy.lanka@mongodb.com">Samyukta Lanka</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Jul 2018 20:00:58 +0000</created>
                <updated>Sun, 29 Oct 2023 22:29:40 +0000</updated>
                            <resolved>Mon, 20 Aug 2018 18:45:34 +0000</resolved>
                                                    <fixVersion>4.1.3</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1980250" author="xgen-internal-githook" created="Mon, 20 Aug 2018 15:47:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Judah Schvimer&apos;, &apos;email&apos;: &apos;judah@mongodb.com&apos;, &apos;username&apos;: &apos;judahschvimer&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36227&quot; title=&quot;Improve logging when awaitReplication hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36227&quot;&gt;&lt;del&gt;SERVER-36227&lt;/del&gt;&lt;/a&gt; always log replication progress on write concern failure&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/eb4df9f2f06a0c5dc6c07231f3de7d2cbb674ee9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/eb4df9f2f06a0c5dc6c07231f3de7d2cbb674ee9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1979162" author="judah.schvimer" created="Fri, 17 Aug 2018 19:03:11 +0000"  >&lt;p&gt;One thought we&apos;d talked about that is not reflected here is that any time that &lt;tt&gt;_awaitReplication_inlock&lt;/tt&gt; fails (either through returning a bad status or by throwing) we should log the &quot;Replication for failed WC&quot; message, not just when it times out.&lt;/p&gt;

&lt;p&gt;Another thing that would be helpful is to log the earliest drop pending optime since we also &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9fd731be471c3d0f40bf5208f2bdd3923c9ea3e8/src/mongo/db/repl/replication_coordinator_impl.cpp#L1461&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;wait on that to commit&lt;/a&gt; before returning from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34372&quot; title=&quot;Drop collection command with majority write concern should wait until two-phase drop finishes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34372&quot;&gt;&lt;del&gt;SERVER-34372&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1972850" author="xgen-internal-githook" created="Fri, 10 Aug 2018 16:57:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@gmail.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36227&quot; title=&quot;Improve logging when awaitReplication hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36227&quot;&gt;&lt;del&gt;SERVER-36227&lt;/del&gt;&lt;/a&gt; Add informatin about additional optimes that we keep track of to replicationProgress&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ea11d6e7f8b6cc62e937094521f25faada5f109f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ea11d6e7f8b6cc62e937094521f25faada5f109f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1960304" author="xgen-internal-githook" created="Mon, 30 Jul 2018 15:54:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@gmail.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36227&quot; title=&quot;Improve logging when awaitReplication hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36227&quot;&gt;&lt;del&gt;SERVER-36227&lt;/del&gt;&lt;/a&gt; Add recovery component logging to concurrency suites that use replication&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 018905518ca552775255f36a52e9fd187f9d61f8.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7110f484d4f6fa7c0fd348c5ced9c31c16b3c060&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7110f484d4f6fa7c0fd348c5ced9c31c16b3c060&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1960266" author="xgen-internal-githook" created="Mon, 30 Jul 2018 15:35:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@gmail.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36227&quot; title=&quot;Improve logging when awaitReplication hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36227&quot;&gt;&lt;del&gt;SERVER-36227&lt;/del&gt;&lt;/a&gt; Add recovery to default log component verbosity setting for evergreen&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/43bde3838e8b29476c40c0a2894873f41feca0d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/43bde3838e8b29476c40c0a2894873f41feca0d5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1958983" author="xgen-internal-githook" created="Fri, 27 Jul 2018 19:25:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;lankas&apos;, &apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36227&quot; title=&quot;Improve logging when awaitReplication hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36227&quot;&gt;&lt;del&gt;SERVER-36227&lt;/del&gt;&lt;/a&gt; Add recovery component logging to concurrency suites that use replication&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/018905518ca552775255f36a52e9fd187f9d61f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/018905518ca552775255f36a52e9fd187f9d61f8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1957688" author="tess.avitabile" created="Thu, 26 Jul 2018 17:38:45 +0000"  >&lt;p&gt;Please work on this on Fridays (this means you might do less BF diagnosis, which is fine).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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>Thu, 26 Jul 2018 17:38:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 25 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>luke.bonanomi@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu33f3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htts5b:</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="2447">Repl 2018-08-13</customfieldvalue>
    <customfieldvalue id="2448">Repl 2018-08-27</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|hu2pof:</customfieldvalue>

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