<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:12:13 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>[DOCS-15181] [SERVER] Clarify that noCursorTimeout has no effect for MongoDB 4.4.8+</title>
                <link>https://jira.mongodb.org/browse/DOCS-15181</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/issues/1308&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/mongo-php-driver#1308&lt;/a&gt;, a user had some questions about cursor timeouts. I was reminded of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6036&quot; title=&quot;Disable cursor timeout for cursors that belong to a session&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6036&quot;&gt;&lt;del&gt;SERVER-6036&lt;/del&gt;&lt;/a&gt;, which suggests that singe MongoDB 4.4.8 any cursor associated with a session will have the &lt;tt&gt;noCursorTimeout&lt;/tt&gt; option automatically applied to it.&lt;/p&gt;

&lt;p&gt;Since drivers will attach logical session IDs to all outgoing commands (there may be edge cases, but certainly all commands that yield a cursor), this suggests that cursors will only be subject to timing out due to the session&apos;s idle timeout (default: 30 minutes). The original 10 minute timeout (related to &lt;tt&gt;noCursorTimeout&lt;/tt&gt;) will never come into play.&lt;/p&gt;

&lt;p&gt;I assume this is related to &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/find/#stable-api&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;find&lt;/tt&gt;&apos;s &lt;tt&gt;noCursorTimeout&lt;/tt&gt; option being omitted from stable API v1&lt;/a&gt;; however, this isn&apos;t explicitly stated in the documentation and users may be led to believe that &lt;tt&gt;noCursorTimeout&lt;/tt&gt; actually has some effect on MongoDB 4.4.8+.&lt;/p&gt;

&lt;p&gt;I&apos;m opening this ticket to suggest we clearly state the implications of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6036&quot; title=&quot;Disable cursor timeout for cursors that belong to a session&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6036&quot;&gt;&lt;del&gt;SERVER-6036&lt;/del&gt;&lt;/a&gt; in the documentation if it&apos;s not already discussed. AFAIK, only the &lt;tt&gt;find&lt;/tt&gt; command supported a &lt;tt&gt;noCursorTimeout&lt;/tt&gt; option, so this misunderstanding may not apply to other cursor-yielding commands like &lt;tt&gt;aggregate&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2005109">DOCS-15181</key>
            <summary>[SERVER] Clarify that noCursorTimeout has no effect for MongoDB 4.4.8+</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>backlog</label>
                            <label>request</label>
                    </labels>
                <created>Sun, 20 Mar 2022 00:56:06 +0000</created>
                <updated>Mon, 22 Jan 2024 16:17:54 +0000</updated>
                                                            <fixVersion>5.0.0</fixVersion>
                    <fixVersion>4.4.8</fixVersion>
                    <fixVersion>5.2.0</fixVersion>
                    <fixVersion>5.3.0</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="40702">SERVER-6036</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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 46 weeks, 4 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-11702</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 46 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jmikola@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0nuxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i06vp0:</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0nh2v:</customfieldvalue>

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