<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:44 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>[GODRIVER-682] Improve Semantics of Cursor</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-682</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;To enable the use of context deadlines and timeouts we need to ensure that we don&apos;t send a request if a deadline is approaching. For tailable await cursors, we can set &lt;tt&gt;maxTimeMS&lt;/tt&gt;, which will help ensure the server returns within a desirable amount of time.&lt;/p&gt;

&lt;p&gt;If a context is cancelled or we do exceed the deadline, the cursor needs to be closed (and potentially killed), and the socket that was used needs to be closed.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="648820">GODRIVER-682</key>
            <summary>Improve Semantics of Cursor</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Dec 2018 14:41:05 +0000</created>
                <updated>Fri, 7 Aug 2020 21:22:47 +0000</updated>
                            <resolved>Fri, 7 Aug 2020 17:33:15 +0000</resolved>
                                                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3328175" author="divjot.arora" created="Fri, 7 Aug 2020 17:33:15 +0000"  >&lt;p&gt;Marking &quot;Won&apos;t Do&quot; because it&apos;ll be done as part of DRIVERS-555 and I can&apos;t think of a better resolution for it now.&lt;/p&gt;</comment>
                            <comment id="3328171" author="divjot.arora" created="Fri, 7 Aug 2020 17:31:49 +0000"  >&lt;p&gt;Automatically deriving a maxTimeMS from context deadlines will be done as part of DRIVERS-555. We&apos;ll also flesh out the semantics of how cursors interact with operation timeouts as part of that project, so I&apos;m closing this out with a link to that ticket.&lt;/p&gt;</comment>
                            <comment id="2088377" author="craiggwilson" created="Wed, 12 Dec 2018 14:44:18 +0000"  >&lt;p&gt;In a language like go where we have great support for coroutines, tailable cursors should almost always be executed in a goroutine. Because of this, a tailable cursor should block and only iterate once a result is present. Cancelling the context will also terminate the cursor.&lt;/p&gt;

&lt;p&gt;To support the resumable token, I&apos;d suggest allow the user to provide a callback and register for resumable token notifications. If the user doesn&apos;t care, then they don&apos;t need to register. Regardless, it keeps this bit of bookkeeping out of the main cursor processing loop and allows it to focus on it&apos;s real job.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="763869">GODRIVER-1036</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="763869">GODRIVER-1036</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000mtaraQAA]]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu5io7:</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>