<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:39 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-1989] Splitting big chunk caused assertion failed</title>
                <link>https://jira.mongodb.org/browse/SERVER-1989</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;while trying to split a chunk manually, the server responded with an assertion error and data retrieval was not possible.&lt;/p&gt;

&lt;p&gt;&amp;gt; db.runCommand({split:&quot;storage.object_interaction&quot;, middle:{_id:877070867}}) &lt;/p&gt;

&lt;p&gt;{ &lt;br/&gt;
        &quot;assertion&quot; : &quot;saving chunks failed.  cmd: { applyOps: [ { op: &lt;br/&gt;
\&quot;u\&quot;, b: true, ns: \&quot;config.chunks\ &lt;br/&gt;
&quot;, o: { _id: \&quot;storage.object_interaction-_id_832352546\&quot;, lastmod: &lt;br/&gt;
Timestamp 179000|4, ns: \&quot;storage.objec &lt;br/&gt;
t_interaction\&quot;, min: &lt;/p&gt;
{ _id: 832352546 }
&lt;p&gt;, max: &lt;/p&gt;
{ _id: 832352546.0 }
&lt;p&gt;, &lt;br/&gt;
shard: \&quot;shard0001\&quot; }, o2: &lt;/p&gt;
{ _id: \&quot;s 
torage.object_interaction-_id_832352546\&quot; }
&lt;p&gt; }, { op: \&quot;u\&quot;, b: true, &lt;br/&gt;
ns: \&quot;config.chunks\&quot;, o: { _id: \&quot;sto &lt;br/&gt;
rage.object_interaction-_id_832352546.0\&quot;, lastmod: Timestamp 179000| &lt;br/&gt;
5, ns: \&quot;storage.object_interaction\&quot;, &lt;br/&gt;
 min: &lt;/p&gt;
{ _id: 832352546.0 }
&lt;p&gt;, max: &lt;/p&gt;
{ _id: 832352547.0 }
&lt;p&gt;, shard: &lt;br/&gt;
\&quot;shard0001\&quot; }, o2: &lt;/p&gt;
{ _id: \&quot;storage.object_ 
interaction-_id_832352546.0\&quot; }
&lt;p&gt; }, { op: \&quot;u\&quot;, b: true, ns: &lt;br/&gt;
\&quot;config.chunks\&quot;, o: { &lt;em&gt;id: \&quot;storage.object&lt;/em&gt; &lt;br/&gt;
interaction-_id_877070867\&quot;, lastmod: Timestamp 179000|6, ns: &lt;br/&gt;
\&quot;storage.object_interaction\&quot;, min: &lt;/p&gt;
{ _id: 8 
77070867 }
&lt;p&gt;, max: &lt;/p&gt;
{ _id: 877070867.0 }
&lt;p&gt;, shard: \&quot;shard0001\&quot; }, o2: &lt;/p&gt;
{ _id: \&quot;storage.object_interaction-_id_ 
877070867\&quot; }
&lt;p&gt; }, { op: \&quot;u\&quot;, b: true, ns: \&quot;config.chunks\&quot;, o: &lt;br/&gt;
{ _id: \&quot;storage.object_interaction-_id_877070867.0\&quot;, lastmod: &lt;br/&gt;
Timestamp 179000|7, ns: \&quot;storage.object_interaction\&quot;, min: &lt;/p&gt;
{ _id: 
877070867.0 }
&lt;p&gt;, max: &lt;/p&gt;
{ _id: 877217527 }
&lt;p&gt;, shard: \&quot;shard0001\&quot; }, o2: &lt;/p&gt;
{ _id: \&quot;storage.object_interaction-_id_877070867.0\&quot; }
&lt;p&gt; } ], &lt;br/&gt;
preCondition: [ { ns: \&quot;config.chunks\&quot;, q: { query: &lt;/p&gt;
{ ns: 
\&quot;storage.object_interaction\&quot; }
&lt;p&gt;, orderby: &lt;/p&gt;
{ lastmod: -1 }
&lt;p&gt; }, res: &lt;/p&gt;
{ lastmod: Timestamp 179000|3 }
&lt;p&gt; } ] } result: { got: { _id: &lt;br/&gt;
\&quot;storage.object_interaction-_id_832352546\&quot;, lastmod: Timestamp &lt;br/&gt;
179000|4, ns: \&quot;storage.object_interaction\&quot;, min: &lt;/p&gt;
{ _id: 832352546 }
&lt;p&gt;, &lt;br/&gt;
max: &lt;/p&gt;
{ _id: 832352546.0 }
&lt;p&gt;, shard: \&quot;shard0001\&quot; }, whatFailed: { ns: &lt;br/&gt;
\&quot;config.chunks\&quot;, q: { query: &lt;/p&gt;
{ ns: \&quot;storage.object_interaction\&quot; }
&lt;p&gt;, &lt;br/&gt;
orderby: &lt;/p&gt;
{ lastmod: -1 }
&lt;p&gt; }, res: &lt;/p&gt;
{ lastmod: Timestamp 179000|3 }
&lt;p&gt; }, &lt;br/&gt;
errmsg: \&quot;pre-condition failed\&quot;, ok: 0.0 }&quot;, &lt;br/&gt;
        &quot;assertionCode&quot; : 13327, &lt;br/&gt;
        &quot;errmsg&quot; : &quot;db assertion failure&quot;, &lt;br/&gt;
        &quot;ok&quot; : 0 &lt;br/&gt;
} &lt;/p&gt;

&lt;p&gt;&amp;gt; db.runCommand({split:&quot;storage.object_interaction&quot;, find:{_id:854711706}}) &lt;br/&gt;
{ &lt;br/&gt;
        &quot;assertion&quot; : &quot;Couldn&apos;t load a valid config for &lt;br/&gt;
storage.object_interaction after 3 tries. Giving up&quot;, &lt;br/&gt;
        &quot;assertionCode&quot; : 13282, &lt;br/&gt;
        &quot;errmsg&quot; : &quot;db assertion failure&quot;, &lt;br/&gt;
        &quot;ok&quot; : 0 &lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt; &amp;gt; db.object_interaction.findOne({_id:854711706}) &lt;br/&gt;
Fri Oct 22 00:04:24 uncaught exception: error &lt;/p&gt;
{ &quot;$err&quot; : &quot;assertion s/chunk.cpp:768&quot;, &quot;code&quot; : 0 }
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;I&apos;m attaching the cunklist (db.printShardingStatus as well as a mongos log file that contain the events)&lt;/p&gt;

&lt;p&gt;What can i do in order to split the chunk? right now the index is not even on 2 of the shard servers.&lt;/p&gt;</description>
                <environment>debian lenny with bpo kernel (2.6.32), ext4 filesystem, 32GB RAM</environment>
        <key id="13463">SERVER-1989</key>
            <summary>Splitting big chunk caused assertion failed</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="alerner">Alberto Lerner</assignee>
                                    <reporter username="infin1ty">Erez Zarum</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Oct 2010 17:05:37 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:27 +0000</updated>
                            <resolved>Sat, 23 Oct 2010 17:05:00 +0000</resolved>
                                    <version>1.6.3</version>
                                    <fixVersion>1.7.2</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="19637" author="eliot" created="Tue, 26 Oct 2010 04:38:16 +0000"  >&lt;p&gt;Backporting this is hard - and only human error can cause - so i think its ok not to.&lt;/p&gt;</comment>
                            <comment id="19550" author="alerner" created="Sat, 23 Oct 2010 16:51:42 +0000"  >&lt;p&gt;You&apos;d need to adjust the chunk starting at 832352546 by hand.&lt;/p&gt;

&lt;p&gt;To do that, log in a mongos and switch to the &apos;config&apos; database. Change the chunks collection&lt;/p&gt;

&lt;p&gt;db.chunks.update( { &quot;ns&quot;: &quot;storage.object_ineraction&quot; , &quot;min&quot; : &lt;/p&gt;
{ &quot;_id&quot; : 832352546}
&lt;p&gt; } , { $set : { &quot;max&quot; : &lt;/p&gt;
{ &quot;_id&quot; : 877070867 }
&lt;p&gt; } } ) &lt;/p&gt;

&lt;p&gt;This patch will be in 1.6.4. In the meantime, as Eliot suggested, please use the find option.&lt;/p&gt;</comment>
                            <comment id="19549" author="alerner" created="Sat, 23 Oct 2010 16:45:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: fix error when key provided is not a valid split keyhttp://github.com/mongodb/mongo/commit/18938d62ec3e04470de9d555056534e92ef4069d&lt;/p&gt;</comment>
                            <comment id="19545" author="eliot" created="Sat, 23 Oct 2010 12:41:50 +0000"  >&lt;p&gt;can you upload th config server log.&lt;/p&gt;

&lt;p&gt;I thikn the problem was using middle.&lt;/p&gt;

&lt;p&gt;just use split with find, its much safer.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10529" name="chunklist" size="218148" author="infin1ty" created="Fri, 22 Oct 2010 17:05:37 +0000"/>
                            <attachment id="10530" name="mongos.log" size="32839" author="infin1ty" created="Fri, 22 Oct 2010 17:05:37 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 23 Oct 2010 12:41:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 17 weeks, 1 day 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>
                            13 years, 17 weeks, 1 day 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alerner</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>infin1ty</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpcnr:</customfieldvalue>

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

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

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