<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:21 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-25] Add configuration option to Java driver to ignore say() errors (all writes) (WAS: disable throwing interrupted exception)</title>
                <link>https://jira.mongodb.org/browse/JAVA-25</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>
&lt;p&gt;Should make a config option at the Collection level that doesn&apos;t throw an exception if any write fails.&lt;/p&gt;


&lt;p&gt;OLD------&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;When the driver is interrupted during a server read/write (via a server shutdown), it throws a MongException. Some people may care about this but others do not (like me &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;). It creates a lot of noise in my log files. I can catch all the exceptions and look at the cause but that would result in a lot of ugly code.&lt;/p&gt;

&lt;p&gt;It would be handy if you could configure the Mongo object to not throw these.&lt;/p&gt;

&lt;p&gt;can&apos;t say something&lt;br/&gt;
com.mongodb.MongoException$Network: can&apos;t say something&lt;br/&gt;
        at com.mongodb.DBTCP.say(DBTCP.java:133)&lt;br/&gt;
        at com.mongodb.DBMessageLayer.doUpdate(DBMessageLayer.java:42)&lt;br/&gt;
        at com.mongodb.DBApiLayer$MyCollection.update(DBApiLayer.java:461)&lt;br/&gt;
        at lindex.ds.PageDs.updateAttr(PageDs.java:147)&lt;br/&gt;
        at lindex.telemeter.PageBacklinkCountSensor.execute(PageBacklinkCountSensor.java:123)&lt;br/&gt;
        at oemware.core.MultiThread.run(MultiThread.java:164)&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:637)&lt;br/&gt;
Caused by: java.nio.channels.ClosedByInterruptException&lt;br/&gt;
        at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)&lt;br/&gt;
        at sun.nio.ch.SocketChannelImpl.write0(SocketChannelImpl.java:372)&lt;br/&gt;
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:388)&lt;br/&gt;
        at java.nio.channels.SocketChannel.write(SocketChannel.java:360)&lt;br/&gt;
        at com.mongodb.DBPort.go(DBPort.java:79)&lt;br/&gt;
        at com.mongodb.DBPort.say(DBPort.java:64)&lt;br/&gt;
        at com.mongodb.DBTCP.say(DBTCP.java:127)&lt;br/&gt;
        ... 6 more&lt;/p&gt;</description>
                <environment></environment>
        <key id="10496">JAVA-25</key>
            <summary>Add configuration option to Java driver to ignore say() errors (all writes) (WAS: disable throwing interrupted exception)</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="rn@deftlabs.com">Ryan Nitz</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Aug 2009 16:53:38 +0000</created>
                <updated>Fri, 2 Oct 2009 11:38:54 +0000</updated>
                            <resolved>Mon, 14 Sep 2009 21:57:53 +0000</resolved>
                                                    <fixVersion>0.10</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="10731" author="eliot" created="Mon, 14 Sep 2009 21:57:53 +0000"  >&lt;p&gt;coll.setWriteConcern( Mongo.WriteConcern.NONE) &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|hrhdo7:</customfieldvalue>

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