<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:01 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-6886] mongoexport gets Assertion: 10320:BSONElement: bad type -100 after shudown and recovery using journaling</title>
                <link>https://jira.mongodb.org/browse/SERVER-6886</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;standalone mongod with journaling was turned off, and restarted with automatic recovery. &lt;br/&gt;
but when using mongoexport, it splits out the assertion 10320 and can&apos;t have the job done successfully.&lt;/p&gt;

&lt;p&gt;Wed Aug 29 14:41:24 Assertion: 10320:BSONElement: bad type -100&lt;br/&gt;
0x581222 0x50464b 0x513249 0xaa3c0f 0xa9ca9d 0xaa0702 0x3598a1d994 0x4fe4f9&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(_ZN5mongo11msgassertedEiPKc+0x112) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x581222&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(_ZNK5mongo11BSONElement4sizeEv+0x1cb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x50464b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(_ZNK5mongo7BSONObj10jsonStringENS_16JsonStringFormatEi+0x1d9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x513249&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(_ZN6Export3runEv+0x11bf) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa3c0f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(_ZN5mongo4Tool4mainEiPPc+0x169d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa9ca9d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(main+0x32) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa0702&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(__libc_start_main+0xf4) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3598a1d994&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /home/mongodb-linux-x86_64-2.0.7/bin/mongoexport(__gxx_personality_v0+0x3c9) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4fe4f9&amp;#93;&lt;/span&gt;&lt;br/&gt;
assertion: 10320 BSONElement: bad type -100&lt;/p&gt;

&lt;p&gt;I did repair database, and solved that problem.&lt;/p&gt;</description>
                <environment>CentOS release 5.7 (Final)</environment>
        <key id="48486">SERVER-6886</key>
            <summary>mongoexport gets Assertion: 10320:BSONElement: bad type -100 after shudown and recovery using journaling</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="4">Incomplete</resolution>
                                        <assignee username="stephen.lee">Stephen Lee</assignee>
                                    <reporter username="jnhwkim">Jin Hwa Kim</reporter>
                        <labels>
                            <label>mongoexport</label>
                    </labels>
                <created>Wed, 29 Aug 2012 06:55:08 +0000</created>
                <updated>Thu, 14 Mar 2013 22:34:12 +0000</updated>
                            <resolved>Tue, 12 Mar 2013 13:28:32 +0000</resolved>
                                    <version>2.0.7</version>
                                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="287149" author="stephen.lee@10gen.com" created="Tue, 12 Mar 2013 13:28:26 +0000"  >&lt;p&gt;Thanks for trying to reproduce the issue again.  I&apos;m going to resolve this as incomplete, but feel free to reopen if you experience the problem again.&lt;/p&gt;</comment>
                            <comment id="286755" author="jnhwkim" created="Mon, 11 Mar 2013 23:44:00 +0000"  >&lt;p&gt;I moved the job, so data and command-line are unavailable, sadly.&lt;/p&gt;

&lt;p&gt;I think the &lt;tt&gt;mongoexport&lt;/tt&gt; command was simple, exporting the whole database as &lt;tt&gt;JSON&lt;/tt&gt; format.&lt;/p&gt;

&lt;p&gt;Sorry for not helpful description but it was too long ago to track down.&lt;/p&gt;</comment>
                            <comment id="286187" author="stephen.lee@10gen.com" created="Mon, 11 Mar 2013 13:34:44 +0000"  >&lt;p&gt;No problem on the miscommunication, Jin.&lt;/p&gt;

&lt;p&gt;The &quot;bad type&quot; error sometimes indicates data corruption, especially if a database repair seems to &quot;workaround&quot; the issue.&lt;/p&gt;

&lt;p&gt;Could you share the syntax of the &lt;tt&gt;mongoexport&lt;/tt&gt; command which causes the &quot;bad type&quot; error?  If you can reproduce it again, can you try a similar &lt;tt&gt;mongodump&lt;/tt&gt; of the database(s) that you&apos;re trying to output?  I&apos;d like to see if the issue is isolated to &lt;tt&gt;mongoexport&lt;/tt&gt; or not.&lt;/p&gt;

&lt;p&gt;If you can run &lt;tt&gt;mongodump&lt;/tt&gt; without error and if the data isn&apos;t sensitive, could you post the data to the ticket?  Let me know if the data&apos;s sensitive, and we can arrange an alternative means for sending us the relevant data to debug further.&lt;/p&gt;</comment>
                            <comment id="284811" author="jnhwkim" created="Fri, 8 Mar 2013 23:03:21 +0000"  >&lt;p&gt;@Stephen Lee, sorry for my description&apos;s ambiguity, journaling had been always turned on. &lt;/p&gt;

&lt;p&gt;standalone instance whose journaling was enabled was turned off by shutdown or being killed. And when it had been restarted, there was no error for its auto-recovery of journaling. &lt;/p&gt;

&lt;p&gt;It was seemed to be normal, however, when I tried to mongoexport, above the error was generated. &lt;/p&gt;

&lt;p&gt;The point is journaling works fine for its auto-recovery when it restarted, but mongoexport needs database repair operation after crush even journaling has been on.&lt;/p&gt;</comment>
                            <comment id="284624" author="stephen.lee@10gen.com" created="Fri, 8 Mar 2013 19:54:47 +0000"  >&lt;p&gt;Hi Jin,&lt;/p&gt;

&lt;p&gt;If journalling is disabled and &lt;tt&gt;mongoexport&lt;/tt&gt; works correctly after a &lt;tt&gt;db.repairDatabase()&lt;/tt&gt;, it&apos;s possible that you had some corrupt data, which triggered the original &quot;&lt;tt&gt;bad type -100&lt;/tt&gt;&quot; error.  Is there a reason why you disabled journalling?&lt;/p&gt;

&lt;p&gt;-Stephen&lt;/p&gt;</comment>
                    </comments>
                    <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>Fri, 8 Mar 2013 19:54:47 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 49 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>jnhwkim</customfieldvalue>
            <customfieldvalue>stephen.lee</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnqhr:</customfieldvalue>

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

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

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