<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:11 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>[DRIVERS-290] Support sending writeConcern for commands that write</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-290</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;When talking with server 3.4 or greater (maxWireVersion &amp;gt;=5), &lt;tt&gt;writeConcern&lt;/tt&gt; should be a supported option for commands that write.&lt;br/&gt;
Helpers for the following commands therefore must be updated to support the option.&lt;/p&gt;

&lt;p&gt;These are commands that newly accept a writeConcern as of 3.4, for which driver helpers should be updated:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;aggregate with $out&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;clone&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;cloneCollection&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;cloneCollectionAsCapped&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;collMod&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;convertToCapped&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;copydb&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;create&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;createIndexes&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;drop&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;dropDatabase&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;dropIndexes&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;reindex&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;mapReduce with out&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;renameCollection&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;



&lt;h4&gt;&lt;a name=&quot;Note%3A&quot;&gt;&lt;/a&gt;Note:&lt;/h4&gt;
&lt;p&gt;When the writeConcern on a command that writes fails, the resulting document still comes back with ok: 1. Hence, to check for write concern and raise the appropriate error to your users, you will need to check the resulting document for a writeConcernError field. If it is present, then writeConcern failed.&lt;br/&gt;
See the specs &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#generic-command-method-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; for details on writeConcern with the generic command method. See the specs &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#other-commands-that-write&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; for details on handling writeConcern with command helpers.&lt;/p&gt;</description>
                <environment></environment>
        <key id="269132">DRIVERS-290</key>
            <summary>Support sending writeConcern for commands that write</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="barrie">Barrie Segal</assignee>
                                    <reporter username="emily.stolfo">Emily Stolfo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Mar 2016 17:23:37 +0000</created>
                <updated>Fri, 27 May 2022 01:33:34 +0000</updated>
                            <resolved>Mon, 31 Oct 2016 17:58:41 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1422054" author="rathi.gnanasekaran" created="Mon, 31 Oct 2016 17:58:41 +0000"  >&lt;p&gt;Resolving ticket as all linked tickets are closed. &lt;/p&gt;</comment>
                            <comment id="1296066" author="jesse" created="Thu, 16 Jun 2016 01:33:18 +0000"  >&lt;p&gt;Let&apos;s remove a few things from this list that aren&apos;t for mortals: godInsert, capTrunc, appendoplognote, mergechunk, emptycapped.&lt;/p&gt;</comment>
                            <comment id="1270713" author="xgen-internal-githook" created="Fri, 20 May 2016 22:19:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;estolfo&apos;, u&apos;name&apos;: u&apos;Emily S&apos;, u&apos;email&apos;: u&apos;emily@10gen.com&apos;}
&lt;p&gt;Message: Merge pull request #86 from estolfo/&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-290&quot; title=&quot;Support sending writeConcern for commands that write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-290&quot;&gt;&lt;del&gt;DRIVERS-290&lt;/del&gt;&lt;/a&gt;-cmd-helpers&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-290&quot; title=&quot;Support sending writeConcern for commands that write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-290&quot;&gt;&lt;del&gt;DRIVERS-290&lt;/del&gt;&lt;/a&gt; Add text about commands that write supporting a writeConcern parameter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/3e562d121cef07dc5b787ef2814946e27c4f6019&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/3e562d121cef07dc5b787ef2814946e27c4f6019&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1270712" author="xgen-internal-githook" created="Fri, 20 May 2016 22:19:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;estolfo&apos;, u&apos;name&apos;: u&apos;Emily S&apos;, u&apos;email&apos;: u&apos;emily@10gen.com&apos;}
&lt;p&gt;Message: Merge pull request #86 from estolfo/&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-290&quot; title=&quot;Support sending writeConcern for commands that write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-290&quot;&gt;&lt;del&gt;DRIVERS-290&lt;/del&gt;&lt;/a&gt;-cmd-helpers&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-290&quot; title=&quot;Support sending writeConcern for commands that write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-290&quot;&gt;&lt;del&gt;DRIVERS-290&lt;/del&gt;&lt;/a&gt; Add text about commands that write supporting a writeConcern parameter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/3e562d121cef07dc5b787ef2814946e27c4f6019&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/3e562d121cef07dc5b787ef2814946e27c4f6019&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1270711" author="xgen-internal-githook" created="Fri, 20 May 2016 22:19:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;estolfo&apos;, u&apos;name&apos;: u&apos;Emily&apos;, u&apos;email&apos;: u&apos;emily@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-290&quot; title=&quot;Support sending writeConcern for commands that write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-290&quot;&gt;&lt;del&gt;DRIVERS-290&lt;/del&gt;&lt;/a&gt; Update to not mention helpers and reference in Test Plan&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/866edee7e88963d0fcd68d2d823b67821c90d9dd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/866edee7e88963d0fcd68d2d823b67821c90d9dd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1270710" author="xgen-internal-githook" created="Fri, 20 May 2016 22:19:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;estolfo&apos;, u&apos;name&apos;: u&apos;Emily&apos;, u&apos;email&apos;: u&apos;emily@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-290&quot; title=&quot;Support sending writeConcern for commands that write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-290&quot;&gt;&lt;del&gt;DRIVERS-290&lt;/del&gt;&lt;/a&gt; Add note about command helpers supporting writeConcern parameter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/27a54d3606bb93433ca11014735fb1cc6f925b59&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/27a54d3606bb93433ca11014735fb1cc6f925b59&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="293112">CDRIVER-1322</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293111">CSHARP-1688</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293109">CXX-926</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293110">CXX-927</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293114">JAVA-2221</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293116">NODE-729</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293120">PHPLIB-200</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293118">PYTHON-1101</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="293119">RUBY-1115</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="668405">RUST-35</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="287429">SERVER-24191</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="269205">DRIVERS-294</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="227813">SERVER-20224</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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10250"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-729'>NODE-729</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.2.5</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-1101'>PYTHON-1101</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.4</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-1688'>CSHARP-1688</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.4</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-200'>PHPLIB-200</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.1.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-2221'>JAVA-2221</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-926'>CXX-926</a>
    </td>
    <td>Won't Fix</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-1115'>RUBY-1115</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-1322'>CDRIVER-1322</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.5.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-927'>CXX-927</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.1.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PERL-627'>PERL-627</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.6.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SCALA-246'>SCALA-246</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-35'>RUST-35</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.0.0-beta.2</td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsixmv:</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12556"><![CDATA[3.4]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>3.3</label>
            <label>3.4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 1 Mar 2016 00:00:00 +0000</customfieldvalue>

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