<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:00 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>[CDRIVER-4125] Implement SRV polling tests 1-8</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4125</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;h3&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/specifications/tree/master/source/polling-srv-records-for-mongos-discovery/tests#prose-tests&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;prose tests 1-8 in the SRV polling test readme&lt;/a&gt; are not implemented in the C driver.&lt;/p&gt;

&lt;p&gt;The readme notes that manual testing is acceptable where mocking DNS records is not practical:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;However, it might be possible to mock changes to DNS SRV records such that automated testing is doable. In any case, the following tests should be executed, either manually, or programmatically.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;However, &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4048&quot; title=&quot;Load balancer: MongoClient Configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4048&quot;&gt;&lt;del&gt;CDRIVER-4048&lt;/del&gt;&lt;/a&gt; introduces a way to mock DNS results with &lt;tt&gt;_mongoc_topology_set_rr_resolver&lt;/tt&gt;. This can be used to implement prose tests 1-8.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Motivation&quot;&gt;&lt;/a&gt;&lt;b&gt;Motivation&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;A bug in SRV polling could result in client applications not properly updating the host list when DNS SRV records change. Note that there have been severe problems with SRV polling before.&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3614&quot; title=&quot;SRV polling does not monitor newly found servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3614&quot;&gt;&lt;del&gt;CDRIVER-3614&lt;/del&gt;&lt;/a&gt; is a bug resulting in SRV polling not occurring at all.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Howlikelyisitthatthisproblemorusecasewilloccur%3F&quot;&gt;&lt;/a&gt;How likely is it that this problem or use case will occur?&lt;/h4&gt;

&lt;p&gt;SRV polling behavior changed as recent as the 1.19.0 release for load balancer support: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4048&quot; title=&quot;Load balancer: MongoClient Configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4048&quot;&gt;&lt;del&gt;CDRIVER-4048&lt;/del&gt;&lt;/a&gt;. If SRV polling behavior changes again, that risks the possibility that the tests are not run manually.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;

&lt;p&gt;No&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisticketrequiredbyadownstreamteam%3F&quot;&gt;&lt;/a&gt;Is this ticket required by a downstream team?&lt;/h4&gt;

&lt;p&gt;No&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisticketonlyfortests%3F&quot;&gt;&lt;/a&gt;Is this ticket only for tests?&lt;/h4&gt;

&lt;p&gt;Yes&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="1847203">CDRIVER-4125</key>
            <summary>Implement SRV polling tests 1-8</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Aug 2021 13:17:09 +0000</created>
                <updated>Fri, 10 Feb 2023 13:26:04 +0000</updated>
                                                                            <component>tests</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4001240" author="xgen-internal-githook" created="Mon, 16 Aug 2021 14:02:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ezra Chung&apos;, &apos;email&apos;: &apos;88335979+eramongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;eramongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4106&quot; title=&quot;SRV polling spec prose tests should be numbered&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4106&quot;&gt;&lt;del&gt;CDRIVER-4106&lt;/del&gt;&lt;/a&gt; Update numbers for existing SRV polling prose tests. (#845)&lt;/p&gt;

&lt;p&gt;Only prose test 9 is currently implemented according to spec. Behavior of&lt;br/&gt;
test_srv_polling_mocked does not conform to prose tests described by spec.&lt;br/&gt;
Therefore, only names related to prose test 9 are updated with numbering.&lt;/p&gt;

&lt;p&gt;Prose tests 1 through 8 are to be implemented separately; see&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4125&quot; title=&quot;Implement SRV polling tests 1-8&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4125&quot;&gt;CDRIVER-4125&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f44f86838866ddfc1aaabd03f6e61162b19fe0cd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f44f86838866ddfc1aaabd03f6e61162b19fe0cd&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2733</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzh8cv:</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>