<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:01:02 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>[JAVA-4021] Use Update/Find/Delete/...Options as a context in Find/...Operation class to avoid copying</title>
                <link>https://jira.mongodb.org/browse/JAVA-4021</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Motivation&quot;&gt;&lt;/a&gt;Motivation&lt;/h3&gt;

&lt;p&gt;**Take the class of&#160;com.mongodb.internal.operation.FindOperation and&#160;com.mongodb.internal.client.model.FindOptions as an example,&lt;/p&gt;

&lt;p&gt;com.mongodb.internal.operation.Operations#createFindOperation will copy each value of&#160;FindOptions into&#160;FindOperation, &lt;b&gt;which a terrible for memory and performance&lt;/b&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Solution&quot;&gt;&lt;/a&gt;Solution&lt;/h3&gt;

&lt;p&gt;FindOperation can just accept&#160;FindOptions as a context without copying its values.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1630385">JAVA-4021</key>
            <summary>Use Update/Find/Delete/...Options as a context in Find/...Operation class to avoid copying</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13203">Gone away</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="eurekajameschen@gmail.com">James Chen</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Feb 2021 03:36:56 +0000</created>
                <updated>Fri, 27 Oct 2023 19:48:30 +0000</updated>
                            <resolved>Wed, 10 Mar 2021 12:00:00 +0000</resolved>
                                    <version>4.2.1</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3656480" author="backlog-server-pm" created="Wed, 10 Mar 2021 12:00:00 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="3631059" author="jeff.yemin" created="Tue, 23 Feb 2021 20:27:24 +0000"  >&lt;p&gt;I responded to a similar request in &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4020&quot; title=&quot;Expose a new parameter to pass FindOptions for find operations in MongoCollection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4020&quot;&gt;&lt;del&gt;JAVA-4020&lt;/del&gt;&lt;/a&gt;, so I won&apos;t repeat it here.&lt;/p&gt;</comment>
                    </comments>
                    <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyhqyf:</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>