<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:33:35 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-125] Cursor iteration should complete (abnormally) when another goroutine closes the cursor</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-125</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description></description>
                <environment></environment>
        <key id="457279">GODRIVER-125</key>
            <summary>Cursor iteration should complete (abnormally) when another goroutine closes the cursor</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rathi.gnanasekaran">Rathi Gnanasekaran</reporter>
                        <labels>
                            <label>Stitch</label>
                            <label>neweng</label>
                    </labels>
                <created>Fri, 10 Nov 2017 20:38:51 +0000</created>
                <updated>Mon, 10 Sep 2018 20:12:57 +0000</updated>
                            <resolved>Mon, 10 Sep 2018 20:12:57 +0000</resolved>
                                                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1995247" author="jeff.yemin" created="Thu, 6 Sep 2018 15:23:52 +0000"  >&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eric.daniels&quot; class=&quot;user-hover&quot; rel=&quot;eric.daniels&quot;&gt;eric.daniels&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Since we can use the Context passed to Cursor.Next for cancellation, we don&apos;t need to make Cursor.Close goroutine safe.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kris.brandow&quot; class=&quot;user-hover&quot; rel=&quot;kris.brandow&quot;&gt;kris.brandow&lt;/a&gt;  if you agree, please close this ticket as Won&apos;t Fix.&lt;/p&gt;</comment>
                            <comment id="1980654" author="kris.brandow" created="Mon, 20 Aug 2018 20:57:47 +0000"  >&lt;p&gt;We need to have a larger discussion around if Cursors should be goroutine safe. If they are not, then this ticket isn&apos;t a problem. If they are, then we need to implement this behavior. Either way we also need to add the &quot;spin until we get a document or timeout&quot; behavior.&lt;/p&gt;</comment>
                            <comment id="1957445" author="eric.daniels@10gen.com" created="Thu, 26 Jul 2018 15:08:42 +0000"  >&lt;p&gt;SGTM.&lt;/p&gt;</comment>
                            <comment id="1949105" author="jeff.yemin" created="Tue, 17 Jul 2018 14:54:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eric.daniels&quot; class=&quot;user-hover&quot; rel=&quot;eric.daniels&quot;&gt;eric.daniels&lt;/a&gt;, this is only an issue for drivers that loop calling getMore to wait for the next document from a cursor to show up (or until the server closes the cursor).  Currently the Go driver does not have such a loop.&lt;/p&gt;

&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kris.brandow&quot; class=&quot;user-hover&quot; rel=&quot;kris.brandow&quot;&gt;kris.brandow&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1914184" author="roland.fong" created="Thu, 7 Jun 2018 18:59:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/414283&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/414283&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="571304">GODRIVER-490</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="457244">DRIVERS-421</issuekey>
        </issuelink>
                            </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-521</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9mxr:</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>