<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:43 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-521] Allow custom service names with srvServiceName URI option</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-521</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;We are using DCOS (marathon/mesos) to manage our services. DCOS generates SRV records for our mongos instances under a record that looks like&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;   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;_mongos-mongodb._tcp.marathon.mesos&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;However, there&apos;s currently no way for me to use this because when I provide a connection url like&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;   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;mongodb+srv://_mongos-mongodb._tcp.marathon.mesos&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;the drivers prepend &quot;&lt;em&gt;mongodb._tcp&quot; to the provided url. It&apos;s not clear why it&apos;s required that the host _must&lt;/em&gt; start with &quot;_mongodb._tcp&quot;. Why not let the user specify the actual DNS entry to query?&lt;/p&gt;

&lt;p&gt;I believe the same issue will exist for multiple orchestration frameworks such as Consul/Nomad and Kubernetes.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Drivers should sync their URI options and seedlist discovery spec tests to &lt;a href=&quot;https://github.com/mongodb/specifications/commit/0fc8e57f601b2ee7af4417b4a25c42eed6a38730&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this commit&lt;/a&gt;. Drivers should accept a new URI option &lt;tt&gt;srvServiceName&lt;/tt&gt; that overrides the default &quot;mongodb&quot; service name for SRV lookup in both discovery and polling.&lt;/b&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="568322">DRIVERS-521</key>
            <summary>Allow custom service names with srvServiceName URI option</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="13453" iconUrl="https://jira.mongodb.org/images/icons/status_generic.gif" description="">Implementing</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="herbrandson">Eric Herbrandson</reporter>
                        <labels>
                            <label>devexp-product</label>
                    </labels>
                <created>Thu, 5 Jul 2018 21:07:30 +0000</created>
                <updated>Mon, 18 Oct 2021 16:51:11 +0000</updated>
                                                                <component>Initial DNS Seedlist Discovery</component>
                                        <votes>2</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="4086514" author="xgen-internal-githook" created="Mon, 27 Sep 2021 14:50:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benjamin Rewis&apos;, &apos;email&apos;: &apos;32186188+benjirewis@users.noreply.github.com&apos;, &apos;username&apos;: &apos;benjirewis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-521&quot; title=&quot;Allow custom service names with srvServiceName URI option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-521&quot;&gt;DRIVERS-521&lt;/a&gt; Use test22 for custom service name endpoint (#1073)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/0fc8e57f601b2ee7af4417b4a25c42eed6a38730&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/0fc8e57f601b2ee7af4417b4a25c42eed6a38730&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4083618" author="benji.rewis" created="Fri, 24 Sep 2021 16:55:42 +0000"  >&lt;p&gt;Opened a small PR to use &lt;tt&gt;_customname._tcp.test22.test.build.10gen.cc&lt;/tt&gt; as the SRV endpoint for the new spec tests. &lt;tt&gt;_customname._tcp.test1.test.build.10gen.cc&lt;/tt&gt; had exactly the same value on SRV lookup as &lt;tt&gt;_mongodb._tcp.test1.test.build.10gen.cc&lt;/tt&gt;, so the spec tests were not really assessing whether a driver was appending a custom service name correctly. &lt;tt&gt;_mongodb._tcp.test22.test.build.10gen.cc&lt;/tt&gt; does not exist, so drivers will now error if&#160;&lt;tt&gt;customname&lt;/tt&gt; is not prepended.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1073&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1073&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4063873" author="xgen-internal-githook" created="Wed, 15 Sep 2021 18:20:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benjamin Rewis&apos;, &apos;email&apos;: &apos;32186188+benjirewis@users.noreply.github.com&apos;, &apos;username&apos;: &apos;benjirewis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-521&quot; title=&quot;Allow custom service names with srvServiceName URI option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-521&quot;&gt;DRIVERS-521&lt;/a&gt; Allow custom SRV service names with srvServiceName URI option (#1067)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/c48d7f416e51dce8fd4c8d05bdb05790508ca3bb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/c48d7f416e51dce8fd4c8d05bdb05790508ca3bb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4049707" author="benji.rewis" created="Fri, 10 Sep 2021 13:50:21 +0000"  >&lt;p&gt;Alternate implementation with a new &lt;tt&gt;srvServiceName&lt;/tt&gt; URI option:&#160;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1067&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1067&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4039424" author="benji.rewis" created="Fri, 3 Sep 2021 16:54:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1063&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1063&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3039385" author="rachelle.palmer" created="Tue, 14 Apr 2020 18:42:49 +0000"  >&lt;p&gt;This ticket has been open for a few years now and it remains true that it&apos;s an interesting idea however at this point and for the forseeable future MongoDB drivers have a significant amount of work that is both more urgent and more critical to customers, therefore we are resolving this ticket as Won&apos;t Fix. If you believe this feature should be added in the long-term, please upvote this feature request &lt;a href=&quot;https://feedback.mongodb.com/forums/924286-drivers/suggestions/40170718-allow-custom-service-names-with-mongodb-srv-uri-sc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;</comment>
                            <comment id="1941304" author="herbrandson" created="Sun, 8 Jul 2018 01:43:52 +0000"  >&lt;p&gt;Thanks @David Golden. That is a much better title. It seems that DCOS, Consul and Kubernetes do use/support RFC 2782 SRV names. However, I think mandating the service name of &quot;mongodb&quot; is unfortunate and unnecessarily restrictive. For example, in DCOS we have a &quot;group&quot; named &quot;mongodb&quot; that has multiple services inside of it (i.e. shard nodes, config nodes, and mongos nodes). DCOS then generates the service name for the SRV record by concatenating the group name and the service name. This makes it very difficult for use to get a properly named SRV record for mongo.&lt;/p&gt;

&lt;p&gt;FWIW, I really appreciate trying to lighten the burden on developers by using simple/short URIs. However, in this case I think this is actually more confusing then helpful. My first instinct was to use the URI &quot;mongodb+srv://_mongos-mongodb._tcp.marathon.mesos&quot;. I was definitely surprised when that wasn&apos;t correct. Add to that the additional flexibility of being able to use service names other then &quot;mongodb&quot; and I think there&apos;s a strong case for this feature &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="1941045" author="david.golden" created="Fri, 6 Jul 2018 20:27:16 +0000"  >&lt;p&gt;Hi, Eric.  The convention is derived directly from &lt;a href=&quot;https://tools.ietf.org/html/rfc2782&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RFC 2782&lt;/a&gt;.  Given a service name, a protocol, and a domain, a client is supposed to do a DNS lookup on &lt;tt&gt;_service._protocol.domain&lt;/tt&gt;.  In this case the &lt;tt&gt;mongodb+srv&lt;/tt&gt; URI scheme mandates the service name &quot;mongodb&quot; and the protocol &quot;tcp&quot;.  One of the design goals was to simplify and shorten URIs that customers need to configure their applications, which is why the service and protocol are derived from the scheme.&lt;/p&gt;

&lt;p&gt;You seem to be asking for support for custom service names, so I&apos;ve updated the title to reflect your request.&lt;/p&gt;</comment>
                            <comment id="1940014" author="herbrandson" created="Thu, 5 Jul 2018 21:08:10 +0000"  >&lt;p&gt;Sorry, I meant to create this as a feature request, not a bug &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="675661">GODRIVER-777</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="1821057">CSHARP-3745</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821056">CXX-2312</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821065">RUST-911</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821055">CDRIVER-4086</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821058">GODRIVER-2086</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821059">JAVA-4239</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821061">MOTOR-778</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821060">NODE-3450</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821063">PHPC-1900</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821062">PYTHON-2823</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1821064">RUBY-2737</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1894037">DRIVERS-1946</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000uDQxvQAG]]]></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_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4086'>CDRIVER-4086</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.21.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-3745'>CSHARP-3745</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2312'>CXX-2312</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2086'>GODRIVER-2086</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.8.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4239'>JAVA-4239</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.5.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-3450'>NODE-3450</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.2.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPC-1900'>PHPC-1900</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.13.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-2823'>PYTHON-2823</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-2737'>RUBY-2737</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-911'>RUST-911</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1263'>SWIFT-1263</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.3.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-778'>MOTOR-778</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY22Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htstuf:</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>