<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:27:29 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-12058] Primary should abort if encountered problems writing to the oplog</title>
                <link>https://jira.mongodb.org/browse/SERVER-12058</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In a replica set if primary has problems writing to the oplog, for example because of corruption there, it still continues applying writes, but they never go to oplog. Thus they are not replicating. Additionally, once the problem is identified, there is no easy way to recover the applied data if it&apos;s not in the oplog.&lt;/p&gt;

&lt;p&gt;Primary should abort if it encountered data access related assertions in &lt;br/&gt;
the oplog collection, including:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;invalid bsonobjsize&lt;/li&gt;
	&lt;li&gt;delete bucket corrupted&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="101970">SERVER-12058</key>
            <summary>Primary should abort if encountered problems writing to the oplog</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="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="alex.komyagin@mongodb.com">Alexander Komyagin</reporter>
                        <labels>
                            <label>elections</label>
                    </labels>
                <created>Wed, 11 Dec 2013 23:36:36 +0000</created>
                <updated>Thu, 21 Sep 2017 16:52:14 +0000</updated>
                            <resolved>Fri, 13 Jun 2014 20:30:01 +0000</resolved>
                                    <version>2.4.8</version>
                                    <fixVersion>2.6.6</fixVersion>
                    <fixVersion>2.7.3</fixVersion>
                                    <component>Replication</component>
                    <component>Stability</component>
                                        <votes>1</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="771678" author="xgen-internal-githook" created="Mon, 24 Nov 2014 21:00:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Dan Pasette&apos;, u&apos;email&apos;: u&apos;dan@10mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12058&quot; title=&quot;Primary should abort if encountered problems writing to the oplog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12058&quot;&gt;&lt;del&gt;SERVER-12058&lt;/del&gt;&lt;/a&gt; fix repl/master1.js&lt;/p&gt;

&lt;p&gt;Expect the server to ABRUPT_EXIT when we catch clock skew exceptions in logOp&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f81009f1d2604d153cdeda9fb106dc86247e12f4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f81009f1d2604d153cdeda9fb106dc86247e12f4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="770853" author="xgen-internal-githook" created="Mon, 24 Nov 2014 03:16:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12058&quot; title=&quot;Primary should abort if encountered problems writing to the oplog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12058&quot;&gt;&lt;del&gt;SERVER-12058&lt;/del&gt;&lt;/a&gt; Abort mongod before letting exceptions esacpe from logOp().&lt;/p&gt;

&lt;p&gt;Letting exceptions escape from logOp() can lead to inconsistencies in the oplog.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 8a47cfef3d41decde32b1a425229f1dc1c810f65)&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	src/mongo/db/repl/oplog.cpp&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d5c4eef6c9a6c82f7c84845f63a8d19fa12382c0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d5c4eef6c9a6c82f7c84845f63a8d19fa12382c0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="693586" author="schwerin" created="Mon, 18 Aug 2014 13:49:03 +0000"  >&lt;p&gt;That is correct.&lt;/p&gt;</comment>
                            <comment id="693475" author="kevin.pulo@10gen.com" created="Mon, 18 Aug 2014 12:25:55 +0000"  >&lt;p&gt;Thanks Andy.  To be 100% clear, this means that once the mongod has been restarted after this abort, the problematic operation will not have been applied to the data files, right?&lt;/p&gt;</comment>
                            <comment id="693317" author="schwerin" created="Mon, 18 Aug 2014 08:35:51 +0000"  >&lt;p&gt;Terminating the server is the only way to roll back the write operation at this point in 2.6. Leaving the server up causes it to contain a write that will not replicate, and cannot be rolled back via replication rollback (which requires the operation to be present on the oplog).&lt;/p&gt;</comment>
                            <comment id="693233" author="kevin.pulo@10gen.com" created="Mon, 18 Aug 2014 05:41:20 +0000"  >&lt;p&gt;For anyone watching on, note that the fix here is to abort (ie. exit) the mongod when a problem is detected recording an operation in the oplog (as opposed to the stepDown that is mentioned in the original ticket description).  Presumably this is because stepDown would immediately promote to primary one of the secondaries which must be missing the problematic operation.  This would leave the replica set running in an inconsistent state, which is basically as bad as leaving the original primary running (and potentially worse in some cases).&lt;/p&gt;</comment>
                            <comment id="620736" author="xgen-internal-githook" created="Fri, 13 Jun 2014 20:29:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12058&quot; title=&quot;Primary should abort if encountered problems writing to the oplog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12058&quot;&gt;&lt;del&gt;SERVER-12058&lt;/del&gt;&lt;/a&gt; Abort mongod before letting exceptions esacpe from logOp().&lt;/p&gt;

&lt;p&gt;Letting exceptions escape from logOp() can lead to inconsistencies in the oplog.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8a47cfef3d41decde32b1a425229f1dc1c810f65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8a47cfef3d41decde32b1a425229f1dc1c810f65&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="50003">SERVER-6981</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="189091">SERVER-17561</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12646">SERVER-1558</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                                        </outwardlinks>
                                                        </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_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="14348">2.6.6</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000UaRMCIA3]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 9 Jan 2014 20:57:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 12 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_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 12 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.komyagin@mongodb.com</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm5n3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3811</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

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

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