<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:48:54 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-60083] ImportCollection should not allow an import to succeed if it is invalid, or can cause problems</title>
                <link>https://jira.mongodb.org/browse/SERVER-60083</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently importCollection can import a collection from one mongod version to another that does not support the imported data. This can either lead to a scenario where we could crash the mtm or we think the import succeeded; but in reality the import has put the system in an inconsistent state.&lt;/p&gt;

&lt;p&gt;Looking for some safeguards to help avoid scenarios that could get us in trouble. &lt;/p&gt;

&lt;p&gt;Also impacts some of the importCollection metadata changes with multi-tenancy.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="1878723">SERVER-60083</key>
            <summary>ImportCollection should not allow an import to succeed if it is invalid, or can cause problems</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="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="peter.vertenten@mongodb.com">Peter Vertenten</reporter>
                        <labels>
                            <label>storex-shortlist</label>
                    </labels>
                <created>Mon, 20 Sep 2021 17:43:42 +0000</created>
                <updated>Tue, 6 Feb 2024 15:32:14 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="5030552" author="gregory.wlodarek" created="Mon, 5 Dec 2022 17:53:51 +0000"  >&lt;p&gt;Thanks for the clarification, we can implement the above suggestion as a safeguard.&lt;/p&gt;</comment>
                            <comment id="5030410" author="peter.vertenten" created="Mon, 5 Dec 2022 17:23:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=gregory.wlodarek%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;gregory.wlodarek@mongodb.com&quot;&gt;gregory.wlodarek@mongodb.com&lt;/a&gt;. We are not trying to do that, but worry it may happen accidentally in the future. We were just looking for the mentioned safeguard to make that contract explicit. Today importCollection happens on a live system with many disparate processes may be running, perhaps a process is upgrading a binary concurrently with the import for example.&lt;/p&gt;</comment>
                            <comment id="5030361" author="gregory.wlodarek" created="Mon, 5 Dec 2022 17:12:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=peter.vertenten%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;peter.vertenten@mongodb.com&quot;&gt;peter.vertenten@mongodb.com&lt;/a&gt; to clarify, are you running &lt;tt&gt;exportCollection&lt;/tt&gt; on one major version and &lt;tt&gt;importCollection&lt;/tt&gt; on another major version? If so, that&apos;s not supported just like with hot backups. You would need to import the collection on the same version it was exported from. What we can do, as &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;milkie@mongodb.com&quot;&gt;milkie@mongodb.com&lt;/a&gt; suggested is to include the binary/FCV version in the &lt;tt&gt;exportCollection&lt;/tt&gt; output, so that &lt;tt&gt;importCollection&lt;/tt&gt; will fail if it&apos;s run against a different binary/FCV version.&lt;/p&gt;</comment>
                            <comment id="4095817" author="brian.lane" created="Fri, 1 Oct 2021 04:25:57 +0000"  >&lt;p&gt;Based on the recent comment from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt;.  I will pass this over to execution to review.&lt;/p&gt;</comment>
                            <comment id="4083414" author="milkie" created="Fri, 24 Sep 2021 15:44:55 +0000"  >&lt;p&gt;I was actually expecting this to be implemented in MongoDB, above the storage API, since we would want to ensure FCV compatibility in addition to &quot;storage engine data version&quot;.  That is, the exportCollection command would include in its metadata the binary version and FCV version, and the importCollection command would verify that metadata is right.&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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 24 Sep 2021 15:44:55 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 9 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>brian.lane@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>gregory.wlodarek@mongodb.com</customfieldvalue>
            <customfieldvalue>peter.vertenten@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02d93:</customfieldvalue>

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

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