<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06: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-4718] Replica Set re-sync fails if --notablescan is active</title>
                <link>https://jira.mongodb.org/browse/SERVER-4718</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This only fails for collections with no _id index.  Such collections are not created by default in version 2.4+.&lt;/p&gt;



&lt;p&gt;Discussion here: &lt;a href=&quot;https://groups.google.com/d/topic/mongodb-user/uC4bYdbmabM/discussion&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/d/topic/mongodb-user/uC4bYdbmabM/discussion&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In a replicaset it&apos;s not possible to set the notablescans flag on the master because the slaves are unable to read capped collections.&lt;/p&gt;

&lt;p&gt;Here is the corresponding part of the log:&lt;/p&gt;

&lt;p&gt;&amp;gt; Tue Jan 17 20:00:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync cloning db: admin &lt;br/&gt;
&amp;gt; Tue Jan 17 20:00:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync cloning db: config &lt;br/&gt;
&amp;gt; Tue Jan 17 20:00:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync query minValid &lt;br/&gt;
&amp;gt; Tue Jan 17 20:00:32 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial oplog application from a2.serv:27017 starting at Jan 17 07:03:38:6 to Jan 17 20:00:24:8 &lt;br/&gt;
&amp;gt; Tue Jan 17 20:00:33 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync failing, error applying oplog 10111 table scans not allowed:myDatabase.myCappedCollection &lt;br/&gt;
&amp;gt; Tue Jan 17 20:00:33 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsSync&amp;#93;&lt;/span&gt; replSet initial sync failed during applyoplog &lt;/p&gt;</description>
                <environment>Not relevant</environment>
        <key id="28654">SERVER-4718</key>
            <summary>Replica Set re-sync fails if --notablescan is active</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="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="ahofmann">Ansgar Hofmann</reporter>
                        <labels>
                            <label>PM248</label>
                            <label>fuzzer-blacklist</label>
                            <label>sync</label>
                    </labels>
                <created>Thu, 19 Jan 2012 08:41:09 +0000</created>
                <updated>Tue, 6 Dec 2022 05:37:39 +0000</updated>
                            <resolved>Mon, 26 Feb 2018 15:42:00 +0000</resolved>
                                    <version>1.8.4</version>
                    <version>2.0.2</version>
                                                    <component>Index Maintenance</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1816028" author="greg.mckeon" created="Mon, 26 Feb 2018 15:42:00 +0000"  >&lt;p&gt;Due to significant changes to the system since this ticket was filed, it&apos;s unclear if this problem still exists.  Please open a new ticket if you&apos;re still encountering this problem.&lt;/p&gt;</comment>
                            <comment id="478512" author="mattd@10gen.com" created="Tue, 7 Jan 2014 20:46:28 +0000"  >&lt;p&gt;Turns out I could repro this. I failed to realize that cappedCollections now default to having an _id index; the existence of which prevents the error. Here is the output from the crashed secondary as of 2.5.4:&lt;/p&gt;

&lt;p&gt;2014-01-07T15:17:28.278-0500 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet syncing to: localhost:27017&lt;br/&gt;
2014-01-07T15:17:28.281-0500 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet remoteOldestOp: Jan 7 15:08:05 52cc5ea5:1&lt;br/&gt;
2014-01-07T15:17:28.281-0500 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsBackgroundSync&amp;#93;&lt;/span&gt; replSet lastOpTimeFetched: Jan 7 15:15:09 52cc604d:1&lt;br/&gt;
2014-01-07T15:17:28.286-0500 &lt;span class=&quot;error&quot;&gt;&amp;#91;repl writer worker 1&amp;#93;&lt;/span&gt; ERROR: writer worker caught exception: :: caused by :: 17243 could not get runner&lt;/p&gt;
{ _id: ObjectId(&apos;52cc6055069cc31a1e651823&apos;) }

&lt;p&gt;on: &lt;/p&gt;
{ ts: Timestamp 1389125717000|1, h: 5050787995708330996, v: 2, op: &quot;i&quot;, ns: &quot;test.foo&quot;, o:
{ _id: ObjectId(&apos;52cc6055069cc31a1e651823&apos;), asdf: 1243.0 }

&lt;p&gt;}&lt;br/&gt;
2014-01-07T15:17:28.286-0500 &lt;span class=&quot;error&quot;&gt;&amp;#91;repl writer worker 1&amp;#93;&lt;/span&gt; Fatal Assertion 16360&lt;br/&gt;
2014-01-07T15:17:28.286-0500 &lt;span class=&quot;error&quot;&gt;&amp;#91;repl writer worker 1&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;***aborting after fassert() failure&lt;/p&gt;


&lt;p&gt;It should also be noted that a secondary will crash when a collection like this is created. I do not know if that was the case in 1.8 and 2.0.&lt;/p&gt;</comment>
                            <comment id="442238" author="mattd@10gen.com" created="Thu, 17 Oct 2013 15:23:43 +0000"  >&lt;p&gt;Couldn&apos;t reproduce in 2.5.3&lt;/p&gt;</comment>
                            <comment id="81812" author="ahofmann" created="Mon, 23 Jan 2012 21:59:03 +0000"  >&lt;p&gt;I made a mistake in the description: the flag notablescan on the secondary prevents it from resyncing. I don&apos;t know if the flag on the master is relevant.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="62585">SERVER-8237</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Jan 2012 03:12:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 50 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-8237'>SERVER-8237</a></s>]]></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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 50 weeks, 2 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>ahofmann</customfieldvalue>
            <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>matt.dannenberg</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroggn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4193</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|hrllf3:</customfieldvalue>

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