<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:48:54 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-18841] Make awaitData cursors block rather than busy wait in the OP_GET_MORE path</title>
                <link>https://jira.mongodb.org/browse/SERVER-18841</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In the getMore command path, threads servicing awaitData cursors will always block rather than busy wait. For OP_GET_MORE, however, the thread will block if it is tailing the oplog but for any other capped collection it will busy wait.&lt;/p&gt;

&lt;p&gt;We can use the per-capped collection condition variable added under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18184&quot; title=&quot;Add awaitData support to getMore command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18184&quot;&gt;&lt;del&gt;SERVER-18184&lt;/del&gt;&lt;/a&gt; to remove busy waiting from the OP_GET_MORE path.&lt;/p&gt;</description>
                <environment></environment>
        <key id="208702">SERVER-18841</key>
            <summary>Make awaitData cursors block rather than busy wait in the OP_GET_MORE path</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="qingyang.chen">Qingyang Chen</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Jun 2015 16:05:22 +0000</created>
                <updated>Fri, 5 Feb 2016 14:28:41 +0000</updated>
                            <resolved>Thu, 16 Jul 2015 14:32:05 +0000</resolved>
                                                    <fixVersion>3.1.6</fixVersion>
                                    <component>Querying</component>
                                        <votes>3</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="967766" author="xgen-internal-githook" created="Thu, 16 Jul 2015 14:30:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;coollog&apos;, u&apos;name&apos;: u&apos;Qingyang Chen&apos;, u&apos;email&apos;: u&apos;qingyang.chen@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18841&quot; title=&quot;Make awaitData cursors block rather than busy wait in the OP_GET_MORE path&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18841&quot;&gt;&lt;del&gt;SERVER-18841&lt;/del&gt;&lt;/a&gt; awaitData cursors block rather than busy wait in OP_GET_MORE path&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/69861af0f5d1f569d04b22fbf3ad408403aeca27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/69861af0f5d1f569d04b22fbf3ad408403aeca27&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="936341" author="david.storch" created="Wed, 10 Jun 2015 14:30:33 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jsbattig%40convey.com&quot; class=&quot;user-hover&quot; rel=&quot;jsbattig@convey.com&quot;&gt;jsbattig@convey.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;This ticket still needs to be triaged and scheduled, but I expect that it should be scheduled for 3.2. This means that the fix will first be available in the 3.2.0 release.&lt;/p&gt;

&lt;p&gt;Note that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9580&quot; title=&quot;Multiple tailable cursors against the same collection shows high cpu usage on server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9580&quot;&gt;&lt;del&gt;SERVER-9580&lt;/del&gt;&lt;/a&gt; was resolved as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18184&quot; title=&quot;Add awaitData support to getMore command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18184&quot;&gt;&lt;del&gt;SERVER-18184&lt;/del&gt;&lt;/a&gt;, which added awaitData support without busy waiting to the getMore command path. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18184&quot; title=&quot;Add awaitData support to getMore command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18184&quot;&gt;&lt;del&gt;SERVER-18184&lt;/del&gt;&lt;/a&gt; was resolved for development version 3.1.4, which means that it will also become available in the 3.2.0 stable release. Currently this work is not planned for backport to the 3.0 or 2.6 branches.&lt;/p&gt;

&lt;p&gt;This ticket will build on top of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18184&quot; title=&quot;Add awaitData support to getMore command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18184&quot;&gt;&lt;del&gt;SERVER-18184&lt;/del&gt;&lt;/a&gt;, expanding the blocking awaitData implementation to the OP_GET_MORE path. Since drivers are expected to use the getMore command rather than OP_GET_MORE against a 3.2 server, the main motivation of this work is to ensure that clients using older drivers still can benefit from the blocking implementation.&lt;/p&gt;

&lt;p&gt;Please let me know if you have any further questions.&lt;/p&gt;

&lt;p&gt;Best,&lt;br/&gt;
Dave&lt;/p&gt;</comment>
                            <comment id="936005" author="jsbattig@convey.com" created="Wed, 10 Jun 2015 03:48:47 +0000"  >&lt;p&gt;What&apos;s the target build for this ticket?&lt;br/&gt;
I was under the impression that ticket initiated by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9580&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-9580&lt;/a&gt; was going to be resolved in version 3.0.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="212626">SERVER-19099</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="225216">SERVER-19947</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="199723">SERVER-18184</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>3.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>Wed, 10 Jun 2015 03:48:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 30 weeks, 6 days 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-19099'>SERVER-19099</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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 30 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</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>jsbattig@convey.com</customfieldvalue>
            <customfieldvalue>qingyang.chen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl3zb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrekev:</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="536">Quint Iteration 5</customfieldvalue>
    <customfieldvalue id="572">Quint Iteration 6</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|hsfyqn:</customfieldvalue>

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