<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37: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>[GODRIVER-2022] Don&apos;t Marshal bson.Raw values in transformAndEnsureID()</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2022</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I&apos;m looking at optimizations that can be made for mongorestore.&lt;/p&gt;

&lt;p&gt;Since we insert raw BSON, I don&apos;t think we need to run&#160;&lt;tt&gt;bson.MarshalAppendWithRegistry()&lt;/tt&gt; in &lt;tt&gt;transformAndEnsureID()&lt;/tt&gt;. It would be nice to skip this if&#160;&lt;tt&gt;val&lt;/tt&gt; holds a value of type&#160;&lt;tt&gt;bson.Raw&lt;/tt&gt; or&#160;&lt;tt&gt;[]byte&lt;/tt&gt; and just set &lt;tt&gt;doc = val&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;This does mean that if the original value doesn&apos;t have an _id field, we could end up mutating &lt;tt&gt;val&lt;/tt&gt;. This can&apos;t happen for mongorestore, but would be unwanted potential behavior. Perhaps we can copy &lt;tt&gt;val&lt;/tt&gt; only if we are about to mutate its array.&lt;/p&gt;

&lt;p&gt;This would avoid copying data unnecessarily if we don&apos;t need to do so.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1751212">GODRIVER-2022</key>
            <summary>Don&apos;t Marshal bson.Raw values in transformAndEnsureID()</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="tim.fogarty@mongodb.com">Tim Fogarty</reporter>
                        <labels>
                    </labels>
                <created>Sun, 23 May 2021 20:15:39 +0000</created>
                <updated>Tue, 6 Sep 2022 13:08:19 +0000</updated>
                                            <version>1.5.2</version>
                                                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q2</label>
            <label>FY23Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6jqv:so</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>