<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:55 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-719] Getting &quot;com.mongodb.MongoException: timeout&quot; even when data is persisted on update operation</title>
                <link>https://jira.mongodb.org/browse/JAVA-719</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Getting following exception when trying to do insert / udpate.&lt;/p&gt;

&lt;p&gt;&amp;lt;code&amp;gt;&lt;br/&gt;
Caused by: com.mongodb.MongoException: timeout&lt;br/&gt;
        at com.mongodb.CommandResult.getException(CommandResult.java:100)&lt;br/&gt;
        at com.mongodb.CommandResult.throwOnError(CommandResult.java:134)&lt;br/&gt;
        at com.mongodb.DBTCPConnector._checkWriteError(DBTCPConnector.java:142)&lt;br/&gt;
        at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:183)&lt;br/&gt;
        at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:155)&lt;br/&gt;
        at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:249)&lt;br/&gt;
        at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:205)&lt;br/&gt;
        at com.mongodb.DBCollection.insert(DBCollection.java:57)&lt;br/&gt;
        at com.mongodb.DBCollection.insert(DBCollection.java:86)&lt;br/&gt;
        at com.mongodb.DBCollection.save(DBCollection.java:792)&lt;br/&gt;
        at com.mongodb.DBCollection.save(DBCollection.java:768)&lt;/p&gt;

&lt;p&gt;-----------------------------------------------------------------------&lt;/p&gt;

&lt;p&gt;com.mongodb.MongoException: timeout&lt;br/&gt;
        at com.mongodb.CommandResult.getException(CommandResult.java:100)&lt;br/&gt;
        at com.mongodb.CommandResult.throwOnError(CommandResult.java:134)&lt;br/&gt;
        at com.mongodb.DBTCPConnector._checkWriteError(DBTCPConnector.java:142)&lt;br/&gt;
        at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:183)&lt;br/&gt;
        at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:155)&lt;br/&gt;
        at com.mongodb.DBApiLayer$MyCollection.update(DBApiLayer.java:328)&lt;br/&gt;
        at com.mongodb.DBCollection.update(DBCollection.java:160)&lt;br/&gt;
        at com.mongodb.DBCollection.update(DBCollection.java:191)&lt;br/&gt;
&amp;lt;/code&amp;gt;&lt;/p&gt;

&lt;p&gt;Data gets persisted to the DB though. &lt;/p&gt;

&lt;p&gt;On second attempt, I don&apos;t get the exception. &lt;br/&gt;
Also this is very intermittent and most often happens when the server is idle for a while.&lt;/p&gt;</description>
                <environment>red hat linux 64 bit.</environment>
        <key id="59850">JAVA-719</key>
            <summary>Getting &quot;com.mongodb.MongoException: timeout&quot; even when data is persisted on update operation</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="abhinav.shah@gmail.com">Abhinav Shah</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Dec 2012 00:04:33 +0000</created>
                <updated>Tue, 25 Jun 2013 04:17:33 +0000</updated>
                            <resolved>Tue, 25 Jun 2013 04:17:33 +0000</resolved>
                                    <version>2.9.3</version>
                    <version>2.10.1</version>
                                                    <component>Connection Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="367005" author="jeff.yemin" created="Tue, 25 Jun 2013 04:17:33 +0000"  >&lt;p&gt;Please re-open if you can provide additional information.&lt;/p&gt;</comment>
                            <comment id="225446" author="jeff.yemin" created="Thu, 27 Dec 2012 17:58:13 +0000"  >&lt;p&gt;Do you suspect this to be a bug in the driver?  Can you post server logs?&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|hrl5zz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>37311</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>