<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:19 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>[GODRIVER-1405] &quot;appname&quot; is not not always sent in isMaster</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1405</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;It appears there&apos;s a couple places where isMaster requests are constructed:&lt;br/&gt;
1) &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/topology_options.go#L198&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/topology_options.go#L198&lt;/a&gt;&lt;br/&gt;
2) &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/server.go#L514&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/server.go#L514&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While both set &quot;appname&quot;, the latter uses &quot;s.cfg.appname&quot;, but afaict that value is never set (and I&apos;ve confirmed from logs that client metadata is being received without &quot;application&quot;).  This makes sense, since &quot;appname&quot; comes from &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/server_options.go#L24&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/topology/server_options.go#L24&lt;/a&gt;, but there&apos;s no &quot;WithAppName(...) ServerOption&quot; function.&lt;/p&gt;</description>
                <environment></environment>
        <key id="994832">GODRIVER-1405</key>
            <summary>&quot;appname&quot; is not not always sent in isMaster</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="bartle">David Bartley</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 Nov 2019 01:34:59 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:26 +0000</updated>
                            <resolved>Fri, 17 Apr 2020 22:56:17 +0000</resolved>
                                                    <fixVersion>1.3.3</fixVersion>
                                    <component>Server Discovery and Monitoring</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3047024" author="xgen-internal-githook" created="Mon, 20 Apr 2020 14:31:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1405&quot; title=&quot;&amp;quot;appname&amp;quot; is not not always sent in isMaster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1405&quot;&gt;&lt;del&gt;GODRIVER-1405&lt;/del&gt;&lt;/a&gt; Remove topology.WithConnectionAppName (#377)&lt;br/&gt;
Branch: release/1.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/76bc82c9ef006d92a89998617245b11f7a77618e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/76bc82c9ef006d92a89998617245b11f7a77618e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3047023" author="xgen-internal-githook" created="Mon, 20 Apr 2020 14:31:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1405&quot; title=&quot;&amp;quot;appname&amp;quot; is not not always sent in isMaster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1405&quot;&gt;&lt;del&gt;GODRIVER-1405&lt;/del&gt;&lt;/a&gt; Send app name on heartbeat and application connections (#366)&lt;br/&gt;
Branch: release/1.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/116d850d19ec56da77499b529f85c8d40e1158d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/116d850d19ec56da77499b529f85c8d40e1158d7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3047009" author="xgen-internal-githook" created="Mon, 20 Apr 2020 14:27:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1405&quot; title=&quot;&amp;quot;appname&amp;quot; is not not always sent in isMaster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1405&quot;&gt;&lt;del&gt;GODRIVER-1405&lt;/del&gt;&lt;/a&gt; Remove topology.WithConnectionAppName (#377)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/1ce974a902227d4c3ddbf45b1422d966bf1c1b5e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/1ce974a902227d4c3ddbf45b1422d966bf1c1b5e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3045728" author="xgen-internal-githook" created="Fri, 17 Apr 2020 22:51:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1405&quot; title=&quot;&amp;quot;appname&amp;quot; is not not always sent in isMaster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1405&quot;&gt;&lt;del&gt;GODRIVER-1405&lt;/del&gt;&lt;/a&gt; Send app name on heartbeat and application connections (#366)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/162453d45f1585df33a13996a897d4ebc451d130&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/162453d45f1585df33a13996a897d4ebc451d130&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3038785" author="divjot.arora" created="Tue, 14 Apr 2020 14:36:40 +0000"  >&lt;p&gt;Moving back to &quot;Needs Triage&quot;. The previous commit fixed the issue when using &lt;tt&gt;WithConnString&lt;/tt&gt; but we need to make this fix in &lt;tt&gt;client.go&lt;/tt&gt; to correctly set the topology/server/connection options and actually propagate the app name.&lt;/p&gt;

&lt;p&gt;I also didn&apos;t realize this when we first did this ticket, but we might be able to add a test using drivertest.ChannelConn or something similar.&lt;/p&gt;</comment>
                            <comment id="2547850" author="xgen-internal-githook" created="Mon, 18 Nov 2019 21:43:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;iwysiu&apos;, &apos;username&apos;: &apos;iwysiu&apos;, &apos;email&apos;: &apos;isabella.siu@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1405&quot; title=&quot;&amp;quot;appname&amp;quot; is not not always sent in isMaster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1405&quot;&gt;&lt;del&gt;GODRIVER-1405&lt;/del&gt;&lt;/a&gt; set appname on ServerConfig (#226)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/c2d06af7698ee006f3c47eb4a3011f095fd03d25&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/c2d06af7698ee006f3c47eb4a3011f095fd03d25&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|hvaomv:</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>