<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:08 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>[DRIVERS-268] SDAM test for race condition when seed list host name does not match the one reported by ismaster</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-268</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;See &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#updaterswithoutprimary&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#updaterswithoutprimary&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Given the behavior specified here, it&apos;s possible for get-more/kill-cursor requests to fail in the following scenario:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Create MongoClient with a seed list with IP addresses for a replica set with host names as normal DNS names.&lt;/li&gt;
	&lt;li&gt;Execute a query with a non-primary read preference&lt;/li&gt;
	&lt;li&gt;Execute a get-more for that query&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This can happen because server selection will succeed against a seed list host that reports itself as a secondary, but by the time the get-more executes, the primary has identified itself and the driver has replaced all the ip-address-specified seed list hosts with the host names from the primary&apos;s server description.  The result is that server selection fails for the get-more, as the topology has &quot;forgotten&quot; about the seed list hosts.&lt;/p&gt;

&lt;p&gt;There is now an &lt;a href=&quot;https://github.com/mongodb/specifications/commit/b42ad6e9634e6a1c46811c5070a6baf8732c5895&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;automated test&lt;/a&gt; for this included in the SDAM specification.  You&apos;ll pick it up with this &lt;a href=&quot;https://github.com/mongodb/specifications/tree/server-discovery-tests-2015-10-02&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;tag&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="233300">DRIVERS-268</key>
            <summary>SDAM test for race condition when seed list host name does not match the one reported by ismaster</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="3">Duplicate</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="rathi.gnanasekaran">Rathi Gnanasekaran</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Oct 2015 14:29:07 +0000</created>
                <updated>Wed, 7 Oct 2015 18:58:46 +0000</updated>
                            <resolved>Wed, 7 Oct 2015 18:58:46 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1054254" author="behackett" created="Wed, 7 Oct 2015 18:56:49 +0000"  >&lt;p&gt;This is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-230&quot; title=&quot;Remove from the topology a replica set member whose &amp;quot;me&amp;quot; hostname:port does not match the one that was used to connect to it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-230&quot;&gt;&lt;del&gt;DRIVERS-230&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="204518">DRIVERS-230</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsdk8v:</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>