<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:00:45 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-22561] RangeDeleter crashes PRIMARY in a very bad decision</title>
                <link>https://jira.mongodb.org/browse/SERVER-22561</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Primary, arbiter, secondary. Secondary is far behind for &amp;gt;1hr, for whatever reason. The range deleter asserts crashes the primary.&lt;/p&gt;

&lt;p&gt;When crashing the primary, the secondary will take place. But its far behind, 1 hour - by definition. Is it smart to force its election...? &lt;/p&gt;

&lt;p&gt;Are you doing any testing to sharded replicated clusters? no way this code path was ever tested. Sorry.&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;   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;2016-02-10T17:14:49.709+0000 I SHARDING [RangeDeleter] rangeDeleter took 3600 seconds waiting for deletes to be replicated to majority nodes 2016-02-10T17:14:49.722+0000 I - [RangeDeleter] Fatal assertion 18512 WriteConcernFailed waiting for replication timed out 2016-02-10T17:14:49.905+0000 I CONTROL [RangeDeleter] 0x12d5772 0x12713d4 0x125d662 0xdf123e 0xdf2865 0x1a99100 0x7f4d75244df3 0x7f4d74f721bd ----- BEGIN BACKTRACE ----- {&quot;backtrace&quot;:[{&quot;b&quot;:&quot;400000&quot;,&quot;o&quot;:&quot;ED5772&quot;},{&quot;b&quot;:&quot;400000&quot;,&quot;o&quot;:&quot;E713D4&quot;},{&quot;b&quot;:&quot;400000&quot;,&quot;o&quot;:&quot;E5D662&quot;},{&quot;b&quot;:&quot;400000&quot;,&quot;o&quot;:&quot;9F123E&quot;},{&quot;b&quot;:&quot;400000&quot;,&quot;o&quot;:&quot;9F2865&quot;},{&quot;b&quot;:&quot;400000&quot;,&quot;o&quot;:&quot;1699100&quot;},{&quot;b&quot;:&quot;7F4D7523D000&quot;,&quot;o&quot;:&quot;7DF3&quot;},{&quot;b&quot;:&quot;7F4D74E7C000&quot;,&quot;o&quot;:&quot;F61BD&quot;}],&quot;processInfo&quot;:{ &quot;mongodbVersion&quot; : &quot;3.2.1&quot;, &quot;gitVersion&quot; : &quot;a14d55980c2cdc565d4704a7e3ad37e4e535c1b2&quot;, &quot;compiledModules&quot; : [], &quot;uname&quot; : { &quot;sysname&quot; : &quot;Linux&quot;, &quot;release&quot; : &quot;3.14.19-17.43.amzn1.x86_64&quot;, &quot;version&quot; : &quot;#1 SMP Wed Sep 17 22:14:52 UTC 2014&quot;, &quot;machine&quot; : &quot;x86_64&quot; }, &quot;somap&quot; : [ { &quot;elfType&quot; : 2, &quot;b&quot; : &quot;400000&quot;, &quot;buildId&quot; : &quot;A931E563057BCC34ED2D1971AAC77D44F47033A9&quot; }, { &quot;b&quot; : &quot;7FFF38CFE000&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;8E3D893F8991DFE6C5D9AB55196714E9AF81DC88&quot; }, { &quot;b&quot; : &quot;7F4D7646A000&quot;, &quot;path&quot; : &quot;/usr/lib64/libssl.so.10&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;22480480235F3B1C6C2E5E5953949728676D3796&quot; }, { &quot;b&quot; : &quot;7F4D76085000&quot;, &quot;path&quot; : &quot;/lib64/libcrypto.so.10&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;ADD80D7DBE8B04C3BA8E3242D96F39FF870A862A&quot; }, { &quot;b&quot; : &quot;7F4D75E7D000&quot;, &quot;path&quot; : &quot;/lib64/librt.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E81013CBFA409053D58A65A0653271AB665A4619&quot; }, { &quot;b&quot; : &quot;7F4D75C79000&quot;, &quot;path&quot; : &quot;/lib64/libdl.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;62A8842157C62F95C3069CBF779AFCC26577A99A&quot; }, { &quot;b&quot; : &quot;7F4D75970000&quot;, &quot;path&quot; : &quot;/usr/lib64/libstdc++.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;66F1CF311C61879639BD3DC0034DEE0D6D042261&quot; }, { &quot;b&quot; : &quot;7F4D7566E000&quot;, &quot;path&quot; : &quot;/lib64/libm.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;5F97F8F8E5024E29717CF35998681F84D4A22D45&quot; }, { &quot;b&quot; : &quot;7F4D75459000&quot;, &quot;path&quot; : &quot;/lib64/libgcc_s.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E77BA674F63D5C56373C03316B5E74C5C781A0BC&quot; }, { &quot;b&quot; : &quot;7F4D7523D000&quot;, &quot;path&quot; : &quot;/lib64/libpthread.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;D48D3E6672A77B603B402F661BABF75E90AD570B&quot; }, { &quot;b&quot; : &quot;7F4D74E7C000&quot;, &quot;path&quot; : &quot;/lib64/libc.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;DF6DA145A649EA093507A635AF383F608E7CE3F2&quot; }, { &quot;b&quot; : &quot;7F4D766D7000&quot;, &quot;path&quot; : &quot;/lib64/ld-linux-x86-64.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;6F90843B9087FE91955FEB0355EB0858EF9E97B2&quot; }, { &quot;b&quot; : &quot;7F4D74C39000&quot;, &quot;path&quot; : &quot;/lib64/libgssapi_krb5.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;DE5A9F7A11A0881CB64E375F4DDCA58028F0FAF8&quot; }, { &quot;b&quot; : &quot;7F4D74954000&quot;, &quot;path&quot; : &quot;/lib64/libkrb5.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;A3E43FC66908AC8B00773707FECA3B1677AFF311&quot; }, { &quot;b&quot; : &quot;7F4D74751000&quot;, &quot;path&quot; : &quot;/usr/lib64/libcom_err.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;622F315EB5CB2F791E9B64020692EBA98195D06D&quot; }, { &quot;b&quot; : &quot;7F4D74526000&quot;, &quot;path&quot; : &quot;/lib64/libk5crypto.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;B10FBFEC246C4EAD1719D16090D0BE54904BBFC9&quot; }, { &quot;b&quot; : &quot;7F4D7430F000&quot;, &quot;path&quot; : &quot;/lib64/libz.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E492542502DF88A2F752AD77D1905D13FF1AC6FF&quot; }, { &quot;b&quot; : &quot;7F4D74104000&quot;, &quot;path&quot; : &quot;/lib64/libkrb5support.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;7292C0673D7C116E3389D3FFA67087A6B9287A71&quot; }, { &quot;b&quot; : &quot;7F4D73F01000&quot;, &quot;path&quot; : &quot;/lib64/libkeyutils.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;BF48CD5658DE95CE058C4B828E81C97E2AE19643&quot; }, { &quot;b&quot; : &quot;7F4D73CE7000&quot;, &quot;path&quot; : &quot;/lib64/libresolv.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;6A7DA1CED90F65F27CB7B5BACDBB1C386C05F592&quot; }, { &quot;b&quot; : &quot;7F4D73AC6000&quot;, &quot;path&quot; : &quot;/usr/lib64/libselinux.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;803D7EF21A989677D056E52BAEB9AB5B154FB9D9&quot; } ] }} mongod(_ZN5mongo15printStackTraceERSo+0x32) [0x12d5772] mongod(_ZN5mongo10logContextEPKc+0x134) [0x12713d4] mongod(_ZN5mongo23fassertFailedWithStatusEiRKNS_6StatusE+0x62) [0x125d662] mongod(+0x9F123E) [0xdf123e] mongod(_ZN5mongo12RangeDeleter6doWorkEv+0x245) [0xdf2865] mongod(+0x1699100) [0x1a99100] libpthread.so.0(+0x7DF3) [0x7f4d75244df3] libc.so.6(clone+0x6D) [0x7f4d74f721bd] ----- END BACKTRACE ----- 2016-02-10T17:14:49.907+0000 I - [RangeDeleter] ***aborting after fassert() failure&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="264504">SERVER-22561</key>
            <summary>RangeDeleter crashes PRIMARY in a very bad decision</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="yonido">Yoni Douek</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Feb 2016 20:11:53 +0000</created>
                <updated>Wed, 10 Feb 2016 20:34:29 +0000</updated>
                            <resolved>Wed, 10 Feb 2016 20:34:29 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1169772" author="ramon.fernandez" created="Wed, 10 Feb 2016 20:34:15 +0000"  >&lt;p&gt;Thanks for your report &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yonido&quot; class=&quot;user-hover&quot; rel=&quot;yonido&quot;&gt;yonido&lt;/a&gt;. This looks like a straight duplicate of the issue you reported in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22390&quot; title=&quot;RangeDeleter crashes primary node due to lagging secondary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22390&quot;&gt;&lt;del&gt;SERVER-22390&lt;/del&gt;&lt;/a&gt;, which was fixed very recently. If you want to test the fix please let me know what platform are you running on and I&apos;ll point you to a binary you can download.&lt;/p&gt;

&lt;p&gt;The fix will be included in 3.2.2, currently scheduled for release in a week or so.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="262096">SERVER-22390</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 10 Feb 2016 20:16:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 1 week 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 1 week ago
                        </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>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>yonido</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkhj3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsi9pr:</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_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|hsf8zj:</customfieldvalue>

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