<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:26:08 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>[DRIVERS-2664] Remove cursorType option from runCursorCommand API</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2664</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;p&gt;The current &lt;a href=&quot;https://github.com/mongodb/specifications/blob/a839581a20b947c5d26bafdc26ebac5fbd39edb9/source/run-command/run-command.rst#runcursorcommand&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;spec&lt;/a&gt; for runCursorCommand requires a cursorType option that allows users to define the behavior of their cursor with respect to tailable and awaitData. However, users can already set this behavior in the command to be run itself, making this option redundant. It is trivial to implement this option as currently specified, but in the interest of maintaining a minimal, clean interface this option should be removed from the spec.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2377295">DRIVERS-2664</key>
            <summary>Remove cursorType option from runCursorCommand API</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="shane.harvey@mongodb.com">Shane Harvey</assignee>
                                    <reporter username="noah.stapp@mongodb.com">Noah Stapp</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Jun 2023 17:20:15 +0000</created>
                <updated>Tue, 25 Jul 2023 11:25:14 +0000</updated>
                            <resolved>Tue, 11 Jul 2023 17:31:18 +0000</resolved>
                                                        <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5558063" author="shane.harvey" created="Tue, 11 Jul 2023 17:31:18 +0000"  >&lt;p&gt;Spoke the Neal in person. The conclusion we reached is that cursorType is actually needed for drivers that implement the timeoutMode feature in CSOT. &lt;/p&gt;</comment>
                            <comment id="5526489" author="jmikola@gmail.com" created="Tue, 27 Jun 2023 00:24:23 +0000"  >&lt;p&gt;I asked about this in the original PR for DRIVERS-2533. Quoting &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1412#discussion_r1189984552&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications#1412&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jmikola%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;jmikola@mongodb.com&quot;&gt;jmikola@mongodb.com&lt;/a&gt;: What is the purpose of the&#160;&lt;tt&gt;cursorType&lt;/tt&gt;&#160;option? From my experience implementing the existing API in PHP (where our existing&#160;&lt;tt&gt;runCommand&lt;/tt&gt;&#160;method automatically creates command cursors based on the server response), we never had to consider such a property.&lt;/p&gt;

&lt;p&gt;Regardless of whether a cursor is tailable or non-tailable, the driver only checks the&#160;&lt;tt&gt;cursor.id&lt;/tt&gt;&#160;field in the response to determine if the cursor is still alive (i.e. subsequent&#160;&lt;tt&gt;getMore&lt;/tt&gt;&#160;commands can be issued).&lt;/p&gt;

&lt;p&gt;And&#160;&lt;tt&gt;awaitData&lt;/tt&gt;&#160;is merely an implementation detail on the server-side.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=neal.beeken%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;neal.beeken@mongodb.com&quot;&gt;neal.beeken@mongodb.com&lt;/a&gt;: This is only for CSOT, we need this external information about the command being run for how the cursor is supposed to apply timeoutMS to getMores correctly&lt;/p&gt;&lt;/blockquote&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DRIVERS-2533</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1xlg8:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>