<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:04:47 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-23905] Unify various implementations of OperationContext</title>
                <link>https://jira.mongodb.org/browse/SERVER-23905</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There should only be one implementation of OperationContext, that is simply configured and decorated differently in mongos, mongod and tests.&lt;/p&gt;</description>
                <environment></environment>
        <key id="282166">SERVER-23905</key>
            <summary>Unify various implementations of OperationContext</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="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Apr 2016 15:07:17 +0000</created>
                <updated>Wed, 25 Jan 2017 21:58:51 +0000</updated>
                            <resolved>Fri, 3 Jun 2016 16:50:17 +0000</resolved>
                                                    <fixVersion>3.3.8</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1283764" author="xgen-internal-githook" created="Fri, 3 Jun 2016 17:58:02 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Fix compile on OS X 10.10.&lt;/p&gt;

&lt;p&gt;The libc++ implementation of unique_ptr on OSX 10.10, or perhaps the version of&lt;br/&gt;
llvm on that platform, cannot handle returning a value of type unique_ptr&amp;lt;Y&amp;gt; in&lt;br/&gt;
a function whose return type is unique_ptr&amp;lt;X&amp;gt;, when Y is derived from X. The&lt;br/&gt;
workaround is to return std::move(returnvalue).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8a3e35c1124b8d145bfc6073207f1d1b83db48c3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8a3e35c1124b8d145bfc6073207f1d1b83db48c3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1283659" author="xgen-internal-githook" created="Fri, 3 Jun 2016 16:48:46 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Unify lifetime management for LockState on OperationContexts into OperationContext.&lt;/p&gt;

&lt;p&gt;This change also moves responsibility for registering OperationContexts to Clients into&lt;br/&gt;
ServiceContext::makeOperationContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/910e782aa5d8329c5e8b2531cf0116052e8a187e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/910e782aa5d8329c5e8b2531cf0116052e8a187e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1277693" author="xgen-internal-githook" created="Fri, 27 May 2016 15:45:28 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Unify implementations of operation id assignment into ServiceContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/afbdaca2a1353c7a5103dc315d7d635acd437243&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/afbdaca2a1353c7a5103dc315d7d635acd437243&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1277692" author="xgen-internal-githook" created="Fri, 27 May 2016 15:45:27 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Move global operation killing implementations from ServiceContextMongoD to ServiceContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a47b34136b9952865e060a6126fffc2a8a252d6d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a47b34136b9952865e060a6126fffc2a8a252d6d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1277691" author="xgen-internal-githook" created="Fri, 27 May 2016 15:45:25 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Remove getNS() from OperationContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2ed62dcea1bb786fd166de499b3a9af72bebc41b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2ed62dcea1bb786fd166de499b3a9af72bebc41b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1273665" author="max.hirschhorn@10gen.com" created="Tue, 24 May 2016 16:08:45 +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-23095&quot; title=&quot;Make the in-memory SORT PlanStage respect the query&amp;#39;s collation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23095&quot;&gt;&lt;del&gt;SERVER-23095&lt;/del&gt;&lt;/a&gt; Remove direct instantiations of OperationContextReplMock&lt;/p&gt;

&lt;p&gt;This facilitates unifying checkForInterrupt&apos;s implementation into OperationContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0ed049682378896e5c2eb4f689ebbed722323a12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0ed049682378896e5c2eb4f689ebbed722323a12&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1273512" author="xgen-internal-githook" created="Tue, 24 May 2016 15:02:42 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Remove isPrimaryFor from OperationContext.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/16e30e94be91617f710967dc404c4cf6f76388f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/16e30e94be91617f710967dc404c4cf6f76388f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1273511" author="xgen-internal-githook" created="Tue, 24 May 2016 15:02:41 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Move RecoveryUnit storage to OperationContext from its subclasses.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/47a685fdab7a6506d15e3d37665624594f5e8ea7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/47a685fdab7a6506d15e3d37665624594f5e8ea7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1273510" author="xgen-internal-githook" created="Tue, 24 May 2016 15:02:40 +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-23905&quot; title=&quot;Unify various implementations of OperationContext&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23905&quot;&gt;&lt;del&gt;SERVER-23905&lt;/del&gt;&lt;/a&gt; Move writesAreReplicated flag from OperationContextImpl to OperationContext.&lt;/p&gt;

&lt;p&gt;This removes the last difference between OperationContextNoop and&lt;br/&gt;
OperationContextReplMock, so this patch also deletes the latter.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8a08cedcdf5a7edb3ad3da1bcbd2cf2a426be547&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8a08cedcdf5a7edb3ad3da1bcbd2cf2a426be547&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</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>Tue, 24 May 2016 15:02:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 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>Fri, 3 Jun 2016 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>
                            7 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>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk9db:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrczsf:</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="902">Sharding 14 (05/13/16)</customfieldvalue>
    <customfieldvalue id="1013">Sharding 15 (06/03/16)</customfieldvalue>
    <customfieldvalue id="1014">Sharding 16 (06/24/16)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 25 Apr 2016 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|hrkwx3:</customfieldvalue>

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