<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:20:51 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-144] nModified should be null from legacy writes</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-144</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Related to &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-143&quot; title=&quot;Don&amp;#39;t include the nModified field in Bulk API results if talking to a legacy server.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-143&quot;&gt;&lt;del&gt;DRIVERS-143&lt;/del&gt;&lt;/a&gt;, obviously. &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-143&quot; title=&quot;Don&amp;#39;t include the nModified field in Bulk API results if talking to a legacy server.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-143&quot;&gt;&lt;del&gt;DRIVERS-143&lt;/del&gt;&lt;/a&gt; is about the Bulk API&apos;s merged results from a series of operations.&lt;/p&gt;

&lt;p&gt;This ticket is about the simple &quot;update&quot; operation. If a driver uses the new &quot;update&quot; command, the 2.6 server responds with an accurate count of documents actually changed, in the &quot;nModified&quot; field. For example, if a document has &quot;x: 1&quot; and you use the &quot;update&quot; command to set x to 1, the server responds with &quot;nModified: 0&quot;.&lt;/p&gt;

&lt;p&gt;This behavior is impossible to simulate with OP_UPDATE, so drivers shouldn&apos;t return an nModified field as the result of a legacy update operation. Depending on the language, the field should be absent, or NULL, or attempting to access it should raise an exception.&lt;/p&gt;</description>
                <environment></environment>
        <key id="118776">DRIVERS-144</key>
            <summary>nModified should be null from legacy writes</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="barrie">Barrie Segal</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Mar 2014 17:33:33 +0000</created>
                <updated>Mon, 15 Apr 2019 17:29:21 +0000</updated>
                            <resolved>Tue, 4 Oct 2016 20:58:41 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="841733" author="acm" created="Tue, 3 Mar 2015 16:48:15 +0000"  >&lt;p&gt;Validating for C+&lt;ins&gt;11 because validated for C, and C&lt;/ins&gt;+11 does not itself do legacy writes.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="107960">CXX-20</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="116963">SERVER-13001</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="117917">DRIVERS-143</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="339522">CXX-1172</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="201275">PHPC-278</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="118791">CSHARP-925</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="118790">NODE-148</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="118785">PYTHON-648</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="118786">RUBY-727</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_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/CXX-20'>CXX-20</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>legacy-0.9.0</td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrwl13:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>104138</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>