<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:47 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-225] Read against dead replica slave doesn&apos;t fail over correctly when there is no master</title>
                <link>https://jira.mongodb.org/browse/JAVA-225</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;We always want reads against Mongo to succeed if there is at least one standard or passive node of the replica set alive. However, in DBTCPConnector&apos;s call() handling, if an IOException occurs against the chosen DBPort, the logic in _error() that calls checkMaster() will cause an error if the master is also unavailable. This checkMaster() needs to be conditional based on slaveOk being set. That is, if slaveOk is true in the call() method the check should be checkMaster(true, false) so that the list of hosts is refreshed even if it results in no master being found.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13850">JAVA-225</key>
            <summary>Read against dead replica slave doesn&apos;t fail over correctly when there is no master</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="antoine">Antoine Girbal</assignee>
                                    <reporter username="danielr">Daniel Rinehart</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Dec 2010 18:35:51 +0000</created>
                <updated>Wed, 22 Dec 2010 23:58:14 +0000</updated>
                            <resolved>Tue, 7 Dec 2010 07:33:23 +0000</resolved>
                                    <version>2.3</version>
                                    <fixVersion>2.4</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="21135" author="antoine" created="Tue, 7 Dec 2010 07:33:23 +0000"  >&lt;p&gt;thanks for the report, this is a problematic bug.&lt;br/&gt;
I confirmed and fixed both issues in trunk.&lt;/p&gt;</comment>
                            <comment id="21134" author="auto" created="Tue, 7 Dec 2010 07:32:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;agirbal&apos;, &apos;name&apos;: &apos;agirbal&apos;, &apos;email&apos;: &apos;antoine@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-225&quot; title=&quot;Read against dead replica slave doesn&amp;#39;t fail over correctly when there is no master&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-225&quot;&gt;&lt;del&gt;JAVA-225&lt;/del&gt;&lt;/a&gt;: Read against dead replica slave doesn&apos;t fail over correctly when there is no master&lt;br/&gt;
/mongodb/mongo-java-driver/commit/157552d5664a19417d0a947187135d3738377a92&lt;/p&gt;</comment>
                            <comment id="21026" author="ctierney" created="Fri, 3 Dec 2010 21:05:00 +0000"  >&lt;p&gt;There is an additional problem with call(); even before it attempts to connect it calls checkMaster( false , true ), which could also result in an error if there is no master available.&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|hrhck7:</customfieldvalue>

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