<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:12:11 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-6609] TTL collections can get out of sync too easily during replica set maintenance </title>
                <link>https://jira.mongodb.org/browse/SERVER-6609</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If you have a secondary that you temporarily take out of the replica set (say for maintenance, index rebuilds, etc.), then when you start up that secondary in standalone mode, the TTL monitor is going to run, possibly deleting some documents while it goes. If this happens, the secondary is going to become out of sync with the primary. In most cases it will just be missing some documents that are being deleted from the primary anyway. However, if any of those missing documents are updated on the primary before they&apos;re deleted, this is going to cause replication to stall, and the only way to fix it will involve manually editing the oplog.&lt;/p&gt;

&lt;p&gt;Proposed solution is to not start the TTL monitor if mongod is started without the --replSet option but there are documents in local.system.replset. &lt;/p&gt;</description>
                <environment></environment>
        <key id="45453">SERVER-6609</key>
            <summary>TTL collections can get out of sync too easily during replica set maintenance </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="matulef">Kevin Matulef</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Jul 2012 15:39:50 +0000</created>
                <updated>Fri, 31 Jan 2020 18:18:57 +0000</updated>
                            <resolved>Thu, 26 Jul 2012 21:15:11 +0000</resolved>
                                    <version>2.2.0-rc0</version>
                                    <fixVersion>2.2.0-rc1</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="721633" author="pieterwjordaanpc@gmail.com" created="Thu, 18 Sep 2014 06:52:16 +0000"  >&lt;p&gt;Please update the documentation to reflect this case (the log message to look out for). This has bitten me in the behind, and fortunately got to this support ticket.&lt;/p&gt;</comment>
                            <comment id="148809" author="auto" created="Mon, 30 Jul 2012 19:41:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-07-30T12:39:21-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Comments and style fixes for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6609&quot; title=&quot;TTL collections can get out of sync too easily during replica set maintenance &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6609&quot;&gt;&lt;del&gt;SERVER-6609&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/048e9b2027146a90b05a21564bc0385c290b9eaa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/048e9b2027146a90b05a21564bc0385c290b9eaa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="147828" author="auto" created="Thu, 26 Jul 2012 21:11:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-07-26T13:49:05-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: Use startupWarningsLog &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6609&quot; title=&quot;TTL collections can get out of sync too easily during replica set maintenance &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6609&quot;&gt;&lt;del&gt;SERVER-6609&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/29c5637d9771aacbe7ac89759e5b6585735e62ee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/29c5637d9771aacbe7ac89759e5b6585735e62ee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="147827" author="auto" created="Thu, 26 Jul 2012 21:11:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-07-26T13:11:17-07:00&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;, u&apos;name&apos;: u&apos;Kristina&apos;}
&lt;p&gt;Message: TTL monitor doesn&apos;t start if there&apos;s a rs config present &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6609&quot; title=&quot;TTL collections can get out of sync too easily during replica set maintenance &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6609&quot;&gt;&lt;del&gt;SERVER-6609&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And no replica set option given.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/26b87e1fbe606b19e2e243c81f34ed10989f261d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/26b87e1fbe606b19e2e243c81f34ed10989f261d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="147626" author="eliot" created="Thu, 26 Jul 2012 15:48:51 +0000"  >&lt;p&gt;Your proposal seems fine.&lt;br/&gt;
Also put a message in the log saying its not running and why, so if someone does this intentionally the&apos;ll see.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1123166">DOCS-13380</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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 2012 15:48:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 21 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_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>benety.goh@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 21 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>matulef</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>pieterwjordaanpc@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrntuf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrgd1j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9022</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

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

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

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