<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:36:37 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-14995] OperationContext should have a constant id for whole lifetime</title>
                <link>https://jira.mongodb.org/browse/SERVER-14995</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently it uses CurOp&apos;s id, but CurOps can be nested and the nested CurOps each have their own id. Instead, the OperationContext should get an ID at construction time and use the same ID until it is over.&lt;/p&gt;</description>
                <environment></environment>
        <key id="154162">SERVER-14995</key>
            <summary>OperationContext should have a constant id for whole lifetime</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Aug 2014 22:45:40 +0000</created>
                <updated>Wed, 25 Jan 2017 22:01:32 +0000</updated>
                            <resolved>Thu, 4 Jun 2015 16:50:36 +0000</resolved>
                                                    <fixVersion>3.1.4</fixVersion>
                                    <component>Internal Code</component>
                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="933222" author="xgen-internal-githook" created="Fri, 5 Jun 2015 22:01:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14995&quot; title=&quot;OperationContext should have a constant id for whole lifetime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14995&quot;&gt;&lt;del&gt;SERVER-14995&lt;/del&gt;&lt;/a&gt; Fix race condition in jstests/noPassthrough/update_yield1.js.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f30bd81cdcdabe19e45ed4c45d43a87160bdc58f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f30bd81cdcdabe19e45ed4c45d43a87160bdc58f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="929593" author="xgen-internal-githook" created="Tue, 2 Jun 2015 16:31:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14995&quot; title=&quot;OperationContext should have a constant id for whole lifetime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14995&quot;&gt;&lt;del&gt;SERVER-14995&lt;/del&gt;&lt;/a&gt; Fix compile break introduced by commit-time race.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f6764a495fffaf095554a27479b717927157b26f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f6764a495fffaf095554a27479b717927157b26f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="929564" author="xgen-internal-githook" created="Tue, 2 Jun 2015 16:06:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14995&quot; title=&quot;OperationContext should have a constant id for whole lifetime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14995&quot;&gt;&lt;del&gt;SERVER-14995&lt;/del&gt;&lt;/a&gt; Move _killPending from CurOp to OperationContext.&lt;/p&gt;

&lt;p&gt;Also, limit the lifetime of OperationContext in MongoD so that it goes out of&lt;br/&gt;
scope before sending a reply to the client.  This is necessary so that&lt;br/&gt;
operations do not appear in the currentOp command result after the server&lt;br/&gt;
sends a response to the client.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/754f482c204160bf0c74373b64ba3406604f0731&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/754f482c204160bf0c74373b64ba3406604f0731&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="929563" author="xgen-internal-githook" created="Tue, 2 Jun 2015 16:06:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: Reapply &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14995&quot; title=&quot;OperationContext should have a constant id for whole lifetime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14995&quot;&gt;&lt;del&gt;SERVER-14995&lt;/del&gt;&lt;/a&gt; Move operation id, lockState and client fields to OperationContext.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/908d0cedf82b50c93932916685c4f8fa4748cc6f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/908d0cedf82b50c93932916685c4f8fa4748cc6f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="927983" author="xgen-internal-githook" created="Fri, 29 May 2015 22:48:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;stbrody&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14995&quot; title=&quot;OperationContext should have a constant id for whole lifetime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14995&quot;&gt;&lt;del&gt;SERVER-14995&lt;/del&gt;&lt;/a&gt; Move operation id, lockState and client fields to OperationContext.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e181ea38af737ef7aaf5f8228f870d8c7149b2bb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e181ea38af737ef7aaf5f8228f870d8c7149b2bb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="927308" author="xgen-internal-githook" created="Fri, 29 May 2015 14:28:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14995&quot; title=&quot;OperationContext should have a constant id for whole lifetime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14995&quot;&gt;&lt;del&gt;SERVER-14995&lt;/del&gt;&lt;/a&gt; Move operation id, lockState and client fields to OperationContext.&lt;/p&gt;

&lt;p&gt;They have been moved from OperationContextImpl.  Furthermore, the CurOp stack is&lt;br/&gt;
now attached to OperationContext, instead of Client.&lt;/p&gt;

&lt;p&gt;With this change, an operation&apos;s lifetime is governed by the lifetime of an&lt;br/&gt;
OperationContext object.  The &quot;_active&quot; field of CurOp is therefore no longer&lt;br/&gt;
meaingful.  This required fixing the lifetime of OperationContext in a few&lt;br/&gt;
places.&lt;/p&gt;

&lt;p&gt;A future change will adjust operation lifetime timing to time the lifetime of&lt;br/&gt;
the OperationContext object, as well.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4ea38c308da292f43e29d32b1b53b7324db0bafe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4ea38c308da292f43e29d32b1b53b7324db0bafe&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="231768">SERVER-20661</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 18 Sep 2014 22:49:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 36 weeks, 5 days 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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 4 Jun 2015 23:59:59 +0000</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>crystal.horn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 36 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlpdr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>133859</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_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 21 Aug 2014 00:00:00 +0000</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|hrntnz:</customfieldvalue>

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