<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:52 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-2700] Implement fallback to IP v4/IP v6 vice-versa</title>
                <link>https://jira.mongodb.org/browse/JAVA-2700</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The driver should try to connect to all IP addresses returned from &lt;tt&gt;java.net.InetAddress#getAllByName(java.lang.String)&lt;/tt&gt; instead of just the first one as returned from &lt;tt&gt;java.net.InetAddress#getByName(java.lang.String)&lt;/tt&gt; before giving up trying to connect.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="470726">JAVA-2700</key>
            <summary>Implement fallback to IP v4/IP v6 vice-versa</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="13201">Fixed</resolution>
                                        <assignee username="jonathan.ma@mongodb.com">Jonathan Ma</assignee>
                                    <reporter username="rathi.gnanasekaran">Rathi Gnanasekaran</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Dec 2017 19:39:59 +0000</created>
                <updated>Sat, 28 Oct 2023 11:23:04 +0000</updated>
                            <resolved>Fri, 5 Oct 2018 14:35:26 +0000</resolved>
                                                    <fixVersion>3.9.0</fixVersion>
                                    <component>Connection Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2025026" author="xgen-internal-githook" created="Fri, 5 Oct 2018 14:34:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jonathan&apos;, &apos;email&apos;: &apos;thejonathanma@gmail.com&apos;, &apos;username&apos;: &apos;thejonathanma&apos;}
&lt;p&gt;Message: Implement ip address fallback for hostnames in async&lt;/p&gt;

&lt;p&gt;This commit implements the ip address fallback for the async driver.&lt;br/&gt;
This applies for both async and netty. Tests are included for this&lt;br/&gt;
as well.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2700&quot; title=&quot;Implement fallback to IP v4/IP v6 vice-versa&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2700&quot;&gt;&lt;del&gt;JAVA-2700&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/c9913ca42ab0978029449955a56e05386d2caa91&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/c9913ca42ab0978029449955a56e05386d2caa91&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2022179" author="jonathan.ma" created="Wed, 3 Oct 2018 14:22:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/thejonathanma/mongo-java-driver/pull/8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Github PR&lt;/a&gt;&#160;for async implementation&lt;/p&gt;</comment>
                            <comment id="2016736" author="xgen-internal-githook" created="Thu, 27 Sep 2018 18:48:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jonathan&apos;, &apos;email&apos;: &apos;thejonathanma@gmail.com&apos;, &apos;username&apos;: &apos;thejonathanma&apos;}
&lt;p&gt;Message: Implement fallback to IPv4/IPv6 vice-versa for sync&lt;/p&gt;

&lt;p&gt;This commit changes the way the driver attempts connections to the&lt;br/&gt;
ip addresses that are associated with a host. Instead of only fetching&lt;br/&gt;
the first ip address and attempting a connection that single ip address,&lt;br/&gt;
the driver will now fetch all of the ip addresses and attempt to&lt;br/&gt;
connect to each one until a successful connection is made, or until&lt;br/&gt;
it is determined that none of the ip addresses can be connected to.&lt;br/&gt;
Note that this commit is only for sync. The implementation of this&lt;br/&gt;
for async will be handled in a separate commit. A couple of tests&lt;br/&gt;
were added for this change as well.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2700&quot; title=&quot;Implement fallback to IP v4/IP v6 vice-versa&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2700&quot;&gt;&lt;del&gt;JAVA-2700&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/146c465c8be582a51b4763e2a0b8b0b93e8d072d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/146c465c8be582a51b4763e2a0b8b0b93e8d072d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2013864" author="jonathan.ma" created="Tue, 25 Sep 2018 18:30:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/thejonathanma/mongo-java-driver/pull/7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Github PR&lt;/a&gt;&#160;for sync implementation.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="406808">DRIVERS-402</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="614088">JAVA-3016</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|hr8wlz:</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>