<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:32 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>[CDRIVER-2213] Add write concern option to find_and_modify_with_opts</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2213</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The findAndModify command accepts a write concern option different from the collection-wide write concern. As such, mongoc_collection_find_and_modify_with_opts should accept a write concern as an option via find_and_modify_opts_t.&lt;/p&gt;

&lt;p&gt;According to read/write concern spec, this function should also throw an error if a write concern is specified and maxWireVersion &amp;lt; 4.&lt;/p&gt;</description>
                <environment></environment>
        <key id="404882">CDRIVER-2213</key>
            <summary>Add write concern option to find_and_modify_with_opts</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="13201">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="patrick.freed@mongodb.com">Patrick Freed</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Jul 2017 21:15:19 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:35 +0000</updated>
                            <resolved>Fri, 1 Sep 2017 17:53:49 +0000</resolved>
                                                    <fixVersion>1.8.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1662866" author="xgen-internal-githook" created="Fri, 1 Sep 2017 17:56:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;ajdavis&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2213&quot; title=&quot;Add write concern option to find_and_modify_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2213&quot;&gt;&lt;del&gt;CDRIVER-2213&lt;/del&gt;&lt;/a&gt; findAndModify respects writeConcern opt&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/21a22353f2773e0100bb8596849ce60c9d5abcea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/21a22353f2773e0100bb8596849ce60c9d5abcea&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1662865" author="xgen-internal-githook" created="Fri, 1 Sep 2017 17:56:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;ajdavis&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2213&quot; title=&quot;Add write concern option to find_and_modify_with_opts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2213&quot;&gt;&lt;del&gt;CDRIVER-2213&lt;/del&gt;&lt;/a&gt; findAndModify respects writeConcern opt&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ab0606aadb61b01347069f46387b8966b64cd6f5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ab0606aadb61b01347069f46387b8966b64cd6f5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1627787" author="jesse" created="Thu, 20 Jul 2017 18:16:04 +0000"  >&lt;p&gt;We still need to check whether our mongoc_collection_find_and_modify_with_opts throws an error if wire version &amp;lt; 4.&lt;/p&gt;</comment>
                            <comment id="1627786" author="jesse" created="Thu, 20 Jul 2017 18:15:31 +0000"  >&lt;p&gt;You can use mongoc_write_concern_append (write_concern, bson) to create an &quot;opts&quot; that includes the write concern, then pass that to mongoc_find_and_modify_opts_append.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="388449">CXX-1349</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="243125">CDRIVER-1048</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="411060">CDRIVER-2227</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht2xhj:</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>