<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:29:05 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-32070] Remove stdx::bind (and others from functional.h)</title>
                <link>https://jira.mongodb.org/browse/SERVER-32070</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Nearly all uses of std::bind (and therefore its alias stdx::bind) are superseded by polymorphic lambdas in C++14. There are approximately 200 uses that can be relatively easily be replaced with cleaner and safer lambda code.&lt;/p&gt;

&lt;p&gt;Code relying on std::bind incurs some subtle risks that we don&apos;t need to take.&lt;br/&gt;
&lt;a href=&quot;https://stackoverflow.com/questions/1930903/bind-vs-lambda&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/1930903/bind-vs-lambda&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="462910">SERVER-32070</key>
            <summary>Remove stdx::bind (and others from functional.h)</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="billy.donahue@mongodb.com">Billy Donahue</assignee>
                                    <reporter username="billy.donahue@mongodb.com">Billy Donahue</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Nov 2017 16:10:11 +0000</created>
                <updated>Mon, 30 Oct 2023 23:10:21 +0000</updated>
                            <resolved>Tue, 16 Jan 2018 22:02:40 +0000</resolved>
                                                    <fixVersion>3.7.2</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1775765" author="xgen-internal-githook" created="Tue, 16 Jan 2018 22:00:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;name&apos;: &apos;Billy Donahue&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; remove stdx::bind (final patch)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a8561f9a3775083eaf17e648850791a2cbd37893&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a8561f9a3775083eaf17e648850791a2cbd37893&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1756800" author="billy.donahue" created="Wed, 20 Dec 2017 15:19:00 +0000"  >&lt;p&gt;Deferring for about a month while we wait for 3.6 backports to slow down.&lt;/p&gt;

&lt;p&gt;Completing this ticket would mean relaxing the linter&apos;s complaints about using the std:: versions of these.&lt;br/&gt;
Unless we backport the linter changes, backports of the std:: versions would trigger the 3.6 linter.&lt;/p&gt;</comment>
                            <comment id="1752659" author="xgen-internal-githook" created="Thu, 14 Dec 2017 22:54:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; migrate some easy stdx::bind to lambdas (pt3)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/950fa6e6fd8f46248796dea3bc6c2392757b163d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/950fa6e6fd8f46248796dea3bc6c2392757b163d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1744682" author="xgen-internal-githook" created="Wed, 6 Dec 2017 20:23:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; migrate some easy stdx::bind to lambdas&lt;/p&gt;

&lt;p&gt;workaround gcc bug&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;branch stdx_bind_2&amp;#93;&lt;/span&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8e0aec0b9820e70f9612b2ace83c5259d6198814&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8e0aec0b9820e70f9612b2ace83c5259d6198814&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1741512" author="billy.donahue" created="Mon, 4 Dec 2017 15:37:45 +0000"  >&lt;p&gt;When using generic lambdas, work around a gcc bug by using explicit `this-&amp;gt;`, or prefer non-generic lambdas when developing replacement code.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;a href=&quot;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Bug 67274&lt;/a&gt; - Inconsistent `this-&amp;gt;` required when calling member function in a lambda capturing `this` through another function&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="1741493" author="xgen-internal-githook" created="Mon, 4 Dec 2017 15:27:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;BillyDonahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;, &apos;name&apos;: &apos;Billy Donahue&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; migrate some easy stdx::bind to lambdas&lt;/p&gt;

&lt;p&gt;Work around GCC bug#67274 with explicit this-&amp;gt; syntax.&lt;br/&gt;
This reverts commit 54db6356c47d7a639eae062818c3026561a64594.&lt;br/&gt;
This reverts commit 19ced195b842d9521220f76b8dd7da8c929ad8ee.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c329cf4dc81804e6d88d5dbb760151d773a3dedf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c329cf4dc81804e6d88d5dbb760151d773a3dedf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1740698" author="xgen-internal-githook" created="Sat, 2 Dec 2017 01:37:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kaloianm&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;, &apos;name&apos;: &apos;Kaloian Manassiev&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; migrate some easy stdx::bind to lambdas&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/54db6356c47d7a639eae062818c3026561a64594&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/54db6356c47d7a639eae062818c3026561a64594&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1740544" author="xgen-internal-githook" created="Fri, 1 Dec 2017 21:38:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; migrate some easy stdx::bind to lambdas&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;branch stdx_bind_1&amp;#93;&lt;/span&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1736260" author="xgen-internal-githook" created="Tue, 28 Nov 2017 17:24:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Billy Donahue&apos;, &apos;username&apos;: &apos;BillyDonahue&apos;, &apos;email&apos;: &apos;billy.donahue@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32070&quot; title=&quot;Remove stdx::bind (and others from functional.h)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32070&quot;&gt;&lt;del&gt;SERVER-32070&lt;/del&gt;&lt;/a&gt; remove multiarg overloads of OldThreadPool::schedule.&lt;br/&gt;
Clears the way for stdx::bind removal.&lt;/p&gt;

&lt;p&gt;git diff master stdx_bind src/mongo/db/repl/sync_tail.cpp | patch -p1&lt;br/&gt;
git diff master stdx_bind src/mongo/db/repl/master_slave.cpp | patch -p1&lt;br/&gt;
git diff master stdx_bind src/mongo/dbtests/threadedtests.cpp | patch -p1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/85d6d1457bcf5cc2aaf650b5ba5d856a50461b52&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/85d6d1457bcf5cc2aaf650b5ba5d856a50461b52&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="474538">SERVER-32414</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1331740">SERVER-47825</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>2.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, 28 Nov 2017 17:24:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 4 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-32414'>SERVER-32414</a></s>]]></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_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>
                            6 years, 4 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>billy.donahue@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htkp1b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htccgf:</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="2030">Platforms 2017-12-18</customfieldvalue>
    <customfieldvalue id="2093">Platforms 2018-01-29</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|htkb53:</customfieldvalue>

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