<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59:53 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>[JAVA-3556]  MongoCursorNotFoundException Scala driver 2.8/Mongo 3.6</title>
                <link>https://jira.mongodb.org/browse/JAVA-3556</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Using Scala Driver 2.8/Java Driver 3.12 against a mongo database 3.6.x frequently errors out with something along the lines of:&lt;/p&gt;

&lt;p&gt;Stacktrace: &lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;_/ java.lang.Exception: [foo.barbaz@ssh-mymongo &lt;span class=&quot;error&quot;&gt;&amp;#91;replica set&amp;#93;&lt;/span&gt;] Database error!&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;____/ Mongo Server error (MongoCursorNotFoundException): Query failed with error code -5 and error message &apos;Cursor 434643071447 not found on server mongo01.mydomain.com:27017&apos; on server mongo01.mydomain.com:27017&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The driver compatibility chart says the latest mongo drivers are compatible with 3.6:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#scala-driver-compatibility&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#scala-driver-compatibility&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Scala Driver 2.8/Java Driver 3.12 querying mongodb 3.6.3</environment>
        <key id="1058256">JAVA-3556</key>
            <summary> MongoCursorNotFoundException Scala driver 2.8/Mongo 3.6</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jake@threatwave.com">Jake Burns</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Dec 2019 19:03:30 +0000</created>
                <updated>Thu, 26 Dec 2019 18:24:54 +0000</updated>
                            <resolved>Thu, 26 Dec 2019 18:24:54 +0000</resolved>
                                                                    <component>Query Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2664009" author="jeff.yemin" created="Thu, 26 Dec 2019 18:24:54 +0000"  >&lt;p&gt;Most likely, the issue is that the cursor timed out on the server (the default timeout is 10 minutes).  Is it possible that your application does not iterate the cursor for that long of a period?&lt;/p&gt;

&lt;p&gt;Just to let you know for future reference the best place for questions regarding MongoDB usage or the Java driver specifics is the &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user mailinglist&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;stackoverflow&lt;/a&gt; as you will reach a broader audience there.  If your business requires an answer from MongoDB within a time frame then we do offer &lt;a href=&quot;https://www.mongodb.com/products/production-support&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;production support&lt;/a&gt;.&lt;/p&gt;
</comment>
                    </comments>
                    <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6t7z:</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>