<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:48:05 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-18561] Incorrect message displayed during mongorestore</title>
                <link>https://jira.mongodb.org/browse/SERVER-18561</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;MongoDB 2.4.10&lt;/p&gt;

&lt;p&gt;I thought you&apos;d like to know about this bug which is closely related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7181&quot; title=&quot;Assertion: 13111:field not found, expected type 2 when an error occured during the index building phase in restore&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7181&quot;&gt;&lt;del&gt;SERVER-7181&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;If you set up a user with only readWrite, and dbAdmin but not userAdmin privileges on a database, and then try and restore a previous DB into that database, you get the following error during a mongorestore:&lt;/p&gt;

&lt;p&gt;Tue May 19 15:23:19.700 Assertion: 13111:field not found, expected type 2&lt;br/&gt;
0xdecc61 0xdafbab 0xdb00ec 0x6d5d7d 0x6e5bfb 0x6e3acb 0x6e7ddc 0xda34b8 0xda9248 0x6ccf37 0x3d68e1ecdd 0x6ccda9 &lt;br/&gt;
 mongorestore(_ZN5mongo15printStackTraceERSo+0x21) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xdecc61&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN5mongo11msgassertedEiPKc+0x9b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xdafbab&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore() &lt;span class=&quot;error&quot;&gt;&amp;#91;0xdb00ec&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZNK5mongo11BSONElement3chkEi+0x1fd) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6d5d7d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN7Restore9drillDownEN5boost11filesystem34pathEbbbb+0x24bb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e5bfb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN7Restore9drillDownEN5boost11filesystem34pathEbbbb+0x38b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e3acb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN7Restore5doRunEv+0xc7c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e7ddc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN5mongo8BSONTool3runEv+0x458) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xda34b8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN5mongo4Tool4mainEiPPc+0x13d8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xda9248&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(main+0x37) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6ccf37&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(__libc_start_main+0xfd) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3d68e1ecdd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(__gxx_personality_v0+0x459) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6ccda9&amp;#93;&lt;/span&gt;&lt;br/&gt;
assertion: 13111 field not found, expected type 2&lt;/p&gt;


&lt;p&gt;From the other issue &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7181&quot; title=&quot;Assertion: 13111:field not found, expected type 2 when an error occured during the index building phase in restore&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7181&quot;&gt;&lt;del&gt;SERVER-7181&lt;/del&gt;&lt;/a&gt; it is clear that it is supposed to print a message about lack of authorisation, but instead you get this lowlevel error.&lt;/p&gt;</description>
                <environment></environment>
        <key id="205228">SERVER-18561</key>
            <summary>Incorrect message displayed during mongorestore</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="ramon.fernandez@mongodb.com">Ramon Fernandez Marina</assignee>
                                    <reporter username="geoff.meakin2@bskyb.com">Geoff Meakin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 May 2015 18:29:18 +0000</created>
                <updated>Wed, 1 Jul 2015 16:27:49 +0000</updated>
                            <resolved>Wed, 1 Jul 2015 16:27:49 +0000</resolved>
                                    <version>2.4.10</version>
                                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="944803" author="ramon.fernandez" created="Thu, 18 Jun 2015 20:27:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geoff.meakin2%40bskyb.com&quot; class=&quot;user-hover&quot; rel=&quot;geoff.meakin2@bskyb.com&quot;&gt;geoff.meakin2@bskyb.com&lt;/a&gt;, we haven&apos;t heard back from you for some time. Have you been able to try the newer tools from 3.0 to see if they solve this issue?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="927661" author="ramon.fernandez" created="Fri, 29 May 2015 18:24:10 +0000"  >&lt;p&gt;Thanks for your report &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geoff.meakin2%40bskyb.com&quot; class=&quot;user-hover&quot; rel=&quot;geoff.meakin2@bskyb.com&quot;&gt;geoff.meakin2@bskyb.com&lt;/a&gt;. As you may already know the tools have been completely re-written for 3.0, so I&apos;d like to ask you to re-run the same scenario with a recent version of the tools. The new tools are backwards compatible with older versions of &lt;tt&gt;mongod&lt;/tt&gt; and greatly improved. If the error message continues to not be very useful we can move this ticket to the TOOLS project and re-classify it as an improvement request.&lt;/p&gt;

&lt;p&gt;Can you please try with a newer version of the tools and report back?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 May 2015 20:09:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 34 weeks, 6 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_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, 34 weeks, 6 days 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>geoff.meakin2@bskyb.com</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl5gv:</customfieldvalue>

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

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