<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:23: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-73041] Mongorestore from a 4.2 dump have all index missing</title>
                <link>https://jira.mongodb.org/browse/SERVER-73041</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We import a 4.2.23 dump to 6.0.3 seems to have all the index missing&lt;/p&gt;

&lt;p&gt;4.2.23 dump command&lt;/p&gt;

&lt;p&gt;/bin/mongodump -h dehamsl5076.int.kn --port 27017 -u admin -p password -o /data/mongodump/dumps/&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;6.0.3 restore command (we do rename the database from ptp to dev_ptp&lt;/p&gt;

&lt;p&gt;time mongorestore --authenticationDatabase=admin -u=admin -p=password -d dev_ptp /data/mongodump/dehamsl5094_dumps/dumps/ptp&lt;/p&gt;</description>
                <environment></environment>
        <key id="2237437">SERVER-73041</key>
            <summary>Mongorestore from a 4.2 dump have all index missing</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="13204">Community Answered</resolution>
                                        <assignee username="yuan.fang@mongodb.com">Yuan Fang</assignee>
                                    <reporter username="daniel.wan@kuehne-nagel.com">Daniel Wan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Jan 2023 15:47:26 +0000</created>
                <updated>Fri, 27 Oct 2023 15:56:24 +0000</updated>
                            <resolved>Mon, 23 Jan 2023 19:43:29 +0000</resolved>
                                    <version>6.2.0-rc3</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5136341" author="JIRAUSER1272618" created="Tue, 24 Jan 2023 15:36:52 +0000"  >&lt;p&gt;Hi Fang,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks for your reply, we do ask in the developer community and there are lot of input and will consider them in our upgrade process.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.mongodb.com/community/forums/t/can-we-do-a-mongo-4-2-dump-and-then-restore-to-mongo-6-0-3-directly/209394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/community/forums/t/can-we-do-a-mongo-4-2-dump-and-then-restore-to-mongo-6-0-3-directly/209394&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Daniel Wan&lt;/p&gt;</comment>
                            <comment id="5134169" author="JIRAUSER1270794" created="Mon, 23 Jan 2023 19:43:06 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.wan%40kuehne-nagel.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.wan@kuehne-nagel.com&quot;&gt;daniel.wan@kuehne-nagel.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for bringing this issue to our attention. I understand that you were unable to see the index data after attempting to restore a 4.2 dump to a 6.0 MongoDB instance. Based on the log you provided, it appears that the mongorestore failed. Please note that multiple version upgrades it not guaranteed to succeed. In order for this to work, you will need to follow the upgrade path through successive major releases of MongoDB ( 4.2 &#8594; 4.4 &#8594; 5.0 &#8594; 6.0). I have found &lt;a href=&quot;https://www.mongodb.com/community/forums/t/can-we-do-a-mongo-4-2-dump-and-then-restore-to-mongo-6-0-3-directly/209394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;a thread on the MongoDB development forum&lt;/a&gt; that may be of help to you in resolving this issue. &lt;/p&gt;

&lt;p&gt;If you have any further questions, we&apos;d like to encourage you to start by asking our community for help by posting on the &lt;a href=&quot;https://www.mongodb.com/community/forums&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Developer Community Forums&lt;/a&gt;. If the discussion there leads you to suspect a bug in the MongoDB server, then we&apos;d want to investigate it as a possible bug here in the SERVER project.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Yuan&lt;/p&gt;</comment>
                            <comment id="5124230" author="JIRAUSER1272618" created="Thu, 19 Jan 2023 16:00:57 +0000"  >&lt;p&gt;4.2 collection purchaseHeader with index&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/426915/426915_image-2023-01-19-23-59-52-007.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;6.0.3 collection purchaseHeader restore with no index&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/426916/426916_image-2023-01-20-00-00-52-042.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="426915" name="image-2023-01-19-23-59-52-007.png" size="17505" author="daniel.wan@kuehne-nagel.com" created="Thu, 19 Jan 2023 15:59:52 +0000"/>
                            <attachment id="426916" name="image-2023-01-20-00-00-52-042.png" size="10873" author="daniel.wan@kuehne-nagel.com" created="Thu, 19 Jan 2023 16:00:52 +0000"/>
                            <attachment id="426905" name="mongorestore_.pcweb_dev_rs.txt" size="33255" author="daniel.wan@kuehne-nagel.com" created="Thu, 19 Jan 2023 15:47:22 +0000"/>
                            <attachment id="426904" name="mongorestore_.pcweb_sit_rs.txt" size="34522" author="daniel.wan@kuehne-nagel.com" created="Thu, 19 Jan 2023 15:47:21 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Jan 2023 19:43:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 2 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 2 weeks, 1 day 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>daniel.wan@kuehne-nagel.com</customfieldvalue>
            <customfieldvalue>yuan.fang@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1rcin:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i19uzc:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;we try restore from another 4.2.23 database dump to 6.0.3 having the same issue&lt;/p&gt;</customfieldvalue>

                        </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>
                                    <customfieldvalue><![CDATA[yuan.fang@mongodb.com]]></customfieldvalue>
    

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

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