<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:21 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-908] Support write concern for findAndModify helpers </title>
                <link>https://jira.mongodb.org/browse/JAVA-908</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The server is going to add support for write concern in findAndModify, so the driver needs to ensure that the write concern is added to the message.&lt;/p&gt;</description>
                <environment></environment>
        <key id="84206">JAVA-908</key>
            <summary>Support write concern for findAndModify helpers </summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="9">Done</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 31 Jul 2013 18:18:35 +0000</created>
                <updated>Fri, 27 May 2022 01:23:17 +0000</updated>
                            <resolved>Fri, 30 Oct 2015 00:44:43 +0000</resolved>
                                                    <fixVersion>2.14.0</fixVersion>
                    <fixVersion>3.2.0</fixVersion>
                                    <component>Write Operations</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1107329" author="jeff.yemin" created="Mon, 7 Dec 2015 18:56:08 +0000"  >&lt;p&gt;The 3.2.0 driver, which contains a fix for this issue, has been released today.&lt;/p&gt;</comment>
                            <comment id="1074881" author="xgen-internal-githook" created="Fri, 30 Oct 2015 02:20:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;: Ignore write concern test for findAndModify for server versions that don&apos;t support it&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/54b996dae6947d8e9e44f24687c1e29b6a5a4c86&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/54b996dae6947d8e9e44f24687c1e29b6a5a4c86&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1074836" author="xgen-internal-githook" created="Fri, 30 Oct 2015 00:38:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;: Added @throws annotations to DBCollection findAndModify helper methods&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/82ce6076721ab1b6a4a7555b81d643320dc577f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/82ce6076721ab1b6a4a7555b81d643320dc577f2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1074805" author="xgen-internal-githook" created="Thu, 29 Oct 2015 23:40:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;: Support write concern for findAndModify command&lt;/p&gt;

&lt;p&gt;    Throw exception from findAndModify-related operations if the response contains a write concern error&lt;br/&gt;
    Support write concern for findAndModify-related helper methods in DBCollection&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/942e1bd8db9c8865b9f992e272403de1675de10b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/942e1bd8db9c8865b9f992e272403de1675de10b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1070246" author="xgen-internal-githook" created="Mon, 26 Oct 2015 12:04:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;: Add findAndModify method overloads with WriteConcern&lt;br/&gt;
Branch: 2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a24667866ecf7e4527ac1b33ab446d65a4dc4c2e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a24667866ecf7e4527ac1b33ab446d65a4dc4c2e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1070245" author="xgen-internal-githook" created="Mon, 26 Oct 2015 12:04:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;: Include writeConcern in findandmodify command, and check for writeConcernError in the response&lt;br/&gt;
Branch: 2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d0062b2404a462e7bb7556636e493850335eff60&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d0062b2404a462e7bb7556636e493850335eff60&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1070244" author="xgen-internal-githook" created="Mon, 26 Oct 2015 12:04:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;: Refactor findAndModify implementation in DBCollection to support sending a WriteConcern&lt;br/&gt;
Branch: 2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9fc4c7e9dfc1e7ac5f634d6360ce2e7de6420940&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9fc4c7e9dfc1e7ac5f634d6360ce2e7de6420940&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1068149" author="jeff.yemin" created="Thu, 22 Oct 2015 18:26:02 +0000"  >&lt;p&gt;Re-opening for 2.14 implementation &lt;/p&gt;</comment>
                            <comment id="1067654" author="xgen-internal-githook" created="Thu, 22 Oct 2015 08:52:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Added WriteConcern support to find and modify operations&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-908&quot; title=&quot;Support write concern for findAndModify helpers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-908&quot;&gt;&lt;del&gt;JAVA-908&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/3b4453e69da9ae125911786950cb4d328d8076d6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/3b4453e69da9ae125911786950cb4d328d8076d6&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="45094">SERVER-6558</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="199674">DRIVERS-224</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>JAVA-1943</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hre5dr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8551</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>3.1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="742">Java Sprint 26</customfieldvalue>
    <customfieldvalue id="749">Java Sprint 27</customfieldvalue>

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