<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:08:46 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>[SERVER-25284] Include resolved IP address in rs.status()</title>
                <link>https://jira.mongodb.org/browse/SERVER-25284</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;b&gt;Original title:&lt;/b&gt; Include resolved IP address in rs.status() and rs.conf()&lt;/p&gt;

&lt;p&gt;We often have to troubleshoot replication issues.  It would be handy to include the IP address the DNS entry resolves to (from the MongoDB perspective) to help with diagnostics.&lt;/p&gt;

&lt;p&gt;For example&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2016-07-25T09:02:19.834-0400 I NETWORK  [ReplExecNetThread-49255] Socket closed remotely, no longer connected (idle 6 secs, remote host 10.71.219.130:27017)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2016-07-25T09:02:19.879-0400 W NETWORK  [ReplExecNetThread-49255] Failed to connect to 10.71.219.130:27017, reason: errno:111 Connection refused&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;I&apos;d like to more easily associate these with a node.  Alternatively, perhaps include the host in the logging? Or both?&lt;/p&gt;</description>
                <environment></environment>
        <key id="304110">SERVER-25284</key>
            <summary>Include resolved IP address in rs.status()</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="shakir.sadikali@mongodb.com">Shakir Sadikali</reporter>
                        <labels>
                            <label>SWDI</label>
                            <label>neweng</label>
                    </labels>
                <created>Tue, 26 Jul 2016 15:33:59 +0000</created>
                <updated>Fri, 27 Dec 2019 15:18:08 +0000</updated>
                            <resolved>Fri, 19 Apr 2019 18:21:03 +0000</resolved>
                                                    <fixVersion>4.1.11</fixVersion>
                                    <component>Diagnostics</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="2678656" author="lingzhi.deng" created="Fri, 27 Dec 2019 15:07:37 +0000"  >&lt;p&gt;Reverted in 4.2.3&lt;/p&gt;</comment>
                            <comment id="2678648" author="xgen-internal-githook" created="Fri, 27 Dec 2019 15:03:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: Revert &apos;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25284&quot; title=&quot;Include resolved IP address in rs.status()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25284&quot;&gt;&lt;del&gt;SERVER-25284&lt;/del&gt;&lt;/a&gt; Show IPs in rs.status()&apos;&lt;/p&gt;

&lt;p&gt;This reverts commit e1e95afbd58a7449dd1765cb910b4d136f95fcc4.&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/271d73eb1b7acfb5ed601c3219a65dcbf06a1f27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/271d73eb1b7acfb5ed601c3219a65dcbf06a1f27&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2678607" author="ravind.kumar" created="Fri, 27 Dec 2019 14:13:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lingzhi.deng&quot; class=&quot;user-hover&quot; rel=&quot;lingzhi.deng&quot;&gt;lingzhi.deng&lt;/a&gt; what version was this reverted in? this server ticket was merged in before GA, so I&apos;m assuming the docs are true for specific point versions of 4.2.x.&lt;/p&gt;</comment>
                            <comment id="2664164" author="lingzhi.deng" created="Thu, 26 Dec 2019 20:48:41 +0000"  >&lt;p&gt;Since this was reverted, I &quot;re-opened&quot; this ticket as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45304&quot; title=&quot;Include resolved IP address in rs.status()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45304&quot;&gt;&lt;del&gt;SERVER-45304&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2664145" author="xgen-internal-githook" created="Thu, 26 Dec 2019 20:36:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45270&quot; title=&quot;Increased vulnerability to slow DNS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45270&quot;&gt;&lt;del&gt;SERVER-45270&lt;/del&gt;&lt;/a&gt; Revert &apos;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25284&quot; title=&quot;Include resolved IP address in rs.status()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25284&quot;&gt;&lt;del&gt;SERVER-25284&lt;/del&gt;&lt;/a&gt; Show IPs in rs.status()&apos;&lt;/p&gt;

&lt;p&gt;This reverts commit e1e95afbd58a7449dd1765cb910b4d136f95fcc4.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e53a88a3fa210ea3964586ecdf9ffecff39af2d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e53a88a3fa210ea3964586ecdf9ffecff39af2d7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2219461" author="xgen-internal-githook" created="Fri, 19 Apr 2019 18:20:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25284&quot; title=&quot;Include resolved IP address in rs.status()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25284&quot;&gt;&lt;del&gt;SERVER-25284&lt;/del&gt;&lt;/a&gt; Show IPs in rs.status()&lt;/p&gt;

&lt;p&gt;Add &quot;ip&quot; field for each member in replSetGetStatus response. Attempt to&lt;br/&gt;
resolve each member&apos;s hostname and set &quot;ip&quot; to a string (the IP literal)&lt;br/&gt;
or to null if resolution fails.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e1e95afbd58a7449dd1765cb910b4d136f95fcc4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e1e95afbd58a7449dd1765cb910b4d136f95fcc4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2216285" author="jesse" created="Wed, 17 Apr 2019 12:36:25 +0000"  >&lt;p&gt;We&apos;ll add resolved IPs to rs.status() as a new field, &quot;ip&quot;, beside &quot;name&quot; and other member status fields. The &quot;ip&quot; field will be a IPv4 or IPv6 address as a string, depending on whether mongod would try to reach the member via IPv4 or IPv6. The field is null if hostname resolution failed.&lt;/p&gt;

&lt;p&gt;We won&apos;t change rs.conf(), and we won&apos;t change the socket layer log messages since passing the original hostname down through layers of network code is too large a change for this ticket.&lt;/p&gt;</comment>
                            <comment id="2127911" author="greg.mckeon" created="Fri, 25 Jan 2019 18:22:28 +0000"  >&lt;p&gt;Sending to service arch, particularly with the split-horizon work we&apos;re doing now.&lt;/p&gt;

&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=adam.martin%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;adam.martin@mongodb.com&quot;&gt;adam.martin@mongodb.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1336709" author="kevin.pulo@10gen.com" created="Tue, 26 Jul 2016 21:03:08 +0000"  >&lt;p&gt;&lt;tt&gt;rs.conf()&lt;/tt&gt; is purely definitional, so I&apos;m not sure that it makes sense to start augmenting it with variable information.  But this is a good idea for adding to &lt;tt&gt;rs.status()&lt;/tt&gt;.  It is often very difficult to reconcile names and IP addresses when looking at replication events in logfiles.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="747310">DOCS-12658</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1062773">SERVER-45270</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1066508">SERVER-45304</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 Jul 2016 21:03:08 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 6 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1336</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ravind.kumar</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 6 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>kevin.pulo@mongodb.com</customfieldvalue>
            <customfieldvalue>lingzhi.deng@mongodb.com</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
            <customfieldvalue>shakir.sadikali@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjrfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hui40v:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2859">Service Arch 2019-04-22</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11857"><![CDATA[Requested]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hseqlz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>