<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:09 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-4174] First outgoing command in single-threaded load balancer connection omits $clusterTime</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4174</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Several PHPC tests are failing because the first outgoing command executed no longer includes a &lt;tt&gt;$clusterTime&lt;/tt&gt; field:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/blob/master/tests/causal-consistency/causal-consistency-012.phpt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;causal-consistency/causal-consistency-012.phpt&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/blob/master/tests/session/session-002.phpt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;session/session-002.phpt&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;m curious if this is related to &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4171&quot; title=&quot;Single-threaded server selection should eagerly validate service ID &quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4171&quot;&gt;CDRIVER-4171&lt;/a&gt;, if we suppose that the initial cluster time would be collected from the &lt;tt&gt;hello&lt;/tt&gt; response at the same time the service ID would be validated. If that&apos;s not happening, then perhaps these outgoing commands are being assembled before that &lt;tt&gt;hello&lt;/tt&gt; response has been analyzed (and the cluster time collected).&lt;/p&gt;</description>
                <environment></environment>
        <key id="1889011">CDRIVER-4174</key>
            <summary>First outgoing command in single-threaded load balancer connection omits $clusterTime</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Oct 2021 14:31:03 +0000</created>
                <updated>Thu, 31 Mar 2022 13:27:25 +0000</updated>
                                                                            <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4127058" author="xgen-internal-githook" created="Fri, 15 Oct 2021 18:16:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/PHPC-1752&quot; title=&quot;Load Balancer Support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPC-1752&quot;&gt;&lt;del&gt;PHPC-1752&lt;/del&gt;&lt;/a&gt;: Fix tests for load balanced topologies&lt;/p&gt;

&lt;p&gt;Skip tests expecting gossiped $clusterTime on first command. This may be a bug in libmongoc, per &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4174&quot; title=&quot;First outgoing command in single-threaded load balancer connection omits $clusterTime&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4174&quot;&gt;CDRIVER-4174&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Make exception assertion in TLS tests more flexible. Expect parent ConnectionException to accomodate load balanced clients, which do not use server selection. Both exception messages will include a common prefix from libmongoc.&lt;/p&gt;

&lt;p&gt;Do not assert exception message for failed TLS connection. While the message will typically include &quot;TLS handshake failed&quot;, that is not guaranteed.&lt;/p&gt;

&lt;p&gt;Make ping response assertions in TLS tests more flexible. Sharded clusters and replica sets may return additional fields in the ping response (e.g. cluster time). These tests were originally written to expect a standalone response.&lt;/p&gt;

&lt;p&gt;Allow unset RTT (-1) for load balanced client.&lt;/p&gt;

&lt;p&gt;Note SRV caveat for is_replica_set test function.&lt;/p&gt;

&lt;p&gt;Allow load balancers for tests that require sharded clusters. Load balancers should always proxy a mongos, so existing skip functions that check for mongos can now allow a load balancer. If there is some incompatibility specific to LBs, we can address that later with a LB-specific skip function.&lt;/p&gt;

&lt;p&gt;Require mongos for pinning tests. Pinning does not apply to load balanced clients, since there is only one connection.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/commit/ae74c7a1cd8d4addb99e109abb7e1b89730e59ce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-php-driver/commit/ae74c7a1cd8d4addb99e109abb7e1b89730e59ce&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1888064">CDRIVER-4171</issuekey>
        </issuelink>
                            </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|hznvtr:</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>