<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:25:31 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>[SERVER-51456] Database Profiler outputs incorrect value of property &quot;keysDeleted&quot;  for a remove operation when a write conflict occurs</title>
                <link>https://jira.mongodb.org/browse/SERVER-51456</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Database Profiler outputs incorrect value of property &quot;keysDeleted&quot; for a remove operation when a write conflict occurs. Other write operations and some other properties (like &quot;keysInserted&quot;) are probably affected in the same way. Instead of setting &quot;keysDeleted&quot; value to the actual number of index keys deleted, the system accumulates the number of index keys deleted over all operation execution attempts, including retries, that happen in response to write conflicts.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/e0fea67fedfd42aa8368f6be127e2aa81ed50cc7/src/mongo/db/catalog/collection_impl.cpp#L808&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Here&lt;/a&gt; is one place where the property &quot;keysDeleted&quot; value is accumulated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1508954">SERVER-51456</key>
            <summary>Database Profiler outputs incorrect value of property &quot;keysDeleted&quot;  for a remove operation when a write conflict occurs</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13201">Fixed</resolution>
                                        <assignee username="romans.kasperovics@mongodb.com">Romans Kasperovics</assignee>
                                    <reporter username="mindaugas.malinauskas@mongodb.com">Mindaugas Malinauskas</reporter>
                        <labels>
                            <label>qexec-team</label>
                    </labels>
                <created>Fri, 9 Oct 2020 16:10:28 +0000</created>
                <updated>Sun, 29 Oct 2023 22:02:10 +0000</updated>
                            <resolved>Tue, 8 Feb 2022 15:56:45 +0000</resolved>
                                    <version>5.0 Desired</version>
                                    <fixVersion>5.3.0</fixVersion>
                    <fixVersion>5.0.7</fixVersion>
                    <fixVersion>5.2.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="4357436" author="xgen-internal-githook" created="Tue, 15 Feb 2022 21:31:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Romans Kasperovics&apos;, &apos;email&apos;: &apos;romans.kasperovics@mongodb.com&apos;, &apos;username&apos;: &apos;romanskas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-51456&quot; title=&quot;Database Profiler outputs incorrect value of property &amp;quot;keysDeleted&amp;quot;  for a remove operation when a write conflict occurs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-51456&quot;&gt;&lt;del&gt;SERVER-51456&lt;/del&gt;&lt;/a&gt; Database Profiler outputs incorrect value of property &quot;keysDeleted&quot; for a remove operation when a write conflict occurs&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 61ba21eac5b59b36e668307adeb043dab8153fb4)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cc099d9838de28af0cd5aed10ddd1943b1081d6f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cc099d9838de28af0cd5aed10ddd1943b1081d6f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4352969" author="xgen-internal-githook" created="Mon, 14 Feb 2022 11:39:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Romans Kasperovics&apos;, &apos;email&apos;: &apos;romans.kasperovics@mongodb.com&apos;, &apos;username&apos;: &apos;romanskas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-51456&quot; title=&quot;Database Profiler outputs incorrect value of property &amp;quot;keysDeleted&amp;quot;  for a remove operation when a write conflict occurs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-51456&quot;&gt;&lt;del&gt;SERVER-51456&lt;/del&gt;&lt;/a&gt; Database Profiler outputs incorrect value of property &quot;keysDeleted&quot; for a remove operation when a write conflict occurs&lt;br/&gt;
Branch: v5.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f4c0a71b4fd267c5164b02d25ce05f1b4ca9ee42&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f4c0a71b4fd267c5164b02d25ce05f1b4ca9ee42&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4340869" author="JIRAUSER1263745" created="Mon, 7 Feb 2022 22:36:34 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch&quot; class=&quot;user-hover&quot; rel=&quot;david.storch&quot;&gt;david.storch&lt;/a&gt;! I am closing this issue for now and the two related tickets.&lt;/p&gt;</comment>
                            <comment id="4339344" author="david.storch" created="Mon, 7 Feb 2022 15:45:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=romans.kasperovics&quot; class=&quot;user-hover&quot; rel=&quot;romans.kasperovics&quot;&gt;romans.kasperovics&lt;/a&gt; I&apos;d argue that this should be backported to 5.2 (the latest rapid release) and 5.0 (the latest LTS release). I&apos;m not sure its worth backporting further? I&apos;ll request backport and I suppose we can take the resulting backport tickets through the regular triage process.&lt;/p&gt;

&lt;p&gt;In the meantime, this ticket can be closed as &quot;Fixed&quot; with a fixVersion of 5.3.0.&lt;/p&gt;</comment>
                            <comment id="4338673" author="JIRAUSER1263745" created="Mon, 7 Feb 2022 10:21:22 +0000"  >&lt;p&gt;The BF happened on 4.7. Do we need to downport this fix?&lt;/p&gt;</comment>
                            <comment id="4338566" author="xgen-internal-githook" created="Mon, 7 Feb 2022 08:55:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Romans Kasperovics&apos;, &apos;email&apos;: &apos;romans.kasperovics@mongodb.com&apos;, &apos;username&apos;: &apos;romanskas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-51456&quot; title=&quot;Database Profiler outputs incorrect value of property &amp;quot;keysDeleted&amp;quot;  for a remove operation when a write conflict occurs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-51456&quot;&gt;&lt;del&gt;SERVER-51456&lt;/del&gt;&lt;/a&gt; Database Profiler outputs incorrect value of property &quot;keysDeleted&quot; for a remove operation when a write conflict occurs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/61ba21eac5b59b36e668307adeb043dab8153fb4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/61ba21eac5b59b36e668307adeb043dab8153fb4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3639571" author="JIRAUSER1252520" created="Mon, 1 Mar 2021 15:24:16 +0000"  >&lt;p&gt;Assigning to quick wins.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="451691">SERVER-31739</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="451691">SERVER-31739</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="22676"><![CDATA[v5.2]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 22 Jul 2021 15:09:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 51 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2575</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 51 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mindaugas.malinauskas@mongodb.com</customfieldvalue>
            <customfieldvalue>romans.kasperovics@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hybr8f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr28vb:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3620">Query 2020-11-30</customfieldvalue>
    <customfieldvalue id="3621">Query 2020-12-14</customfieldvalue>
    <customfieldvalue id="3622">Query 2020-12-28</customfieldvalue>
    <customfieldvalue id="4459">Query 2021-01-11</customfieldvalue>
    <customfieldvalue id="4460">Query 2021-01-25</customfieldvalue>
    <customfieldvalue id="4462">Query Execution 2021-02-22</customfieldvalue>
    <customfieldvalue id="5283">QE 2022-02-07</customfieldvalue>
    <customfieldvalue id="5285">QE 2022-02-21</customfieldvalue>
    <customfieldvalue id="5810">QE 2022-01-24</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hybdhr:</customfieldvalue>

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