<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:16 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-4207] mongoc_topology_scanner_node_t.last_failed ignores errors outside of monitoring for singled-threaded SDAM</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4207</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Quoting my &lt;a href=&quot;https://jira.mongodb.org/browse/CLOUDP-104364?focusedCommentId=4157664&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-4157664&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;comment in CLOUDP-104364&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Using my original test case, I can confirm that libmongoc (used by PHP) is not constructing a handshake command after the fail point triggers and the connection is dropped. The relevant logic is in &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/1.19.1/src/libmongoc/src/mongoc/mongoc-topology-scanner.c#L330&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_begin_hello_cmd&lt;/tt&gt;&lt;/a&gt;, where libmongoc only decides to recreate a handshake &lt;tt&gt;hello&lt;/tt&gt; command if the node has not been used before &lt;em&gt;or&lt;/em&gt; has experienced an error. The error-tracking is what&apos;s being missed here, and it looks like that is only set in &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/1.19.1/src/libmongoc/src/mongoc/mongoc-topology-scanner.c#L709&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_async_error_or_timeout&lt;/tt&gt;&lt;/a&gt;, which is one of the monitoring callbacks.&lt;/p&gt;

&lt;p&gt;This seems more like a bug in libmongoc, and is perhaps unique to their single-threaded SDAM implementation where monitoring and application sockets are one and the same. In this case, it looks like an error during application usage is not being properly recorded for the monitoring structure. We only discovered this because it causes the absence of a &lt;tt&gt;serviceId&lt;/tt&gt; in the serverless &lt;tt&gt;hello&lt;/tt&gt; response, but more generally this also means that libmongoc is not constructing a handshake when recreating the single monitoring/application socket for singled-threaded applications.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="1913321">CDRIVER-4207</key>
            <summary>mongoc_topology_scanner_node_t.last_failed ignores errors outside of monitoring for singled-threaded SDAM</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Oct 2021 16:48:04 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:17 +0000</updated>
                            <resolved>Fri, 17 Dec 2021 21:38:37 +0000</resolved>
                                                    <fixVersion>1.20.1</fixVersion>
                                    <component>SDAM</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4343123" author="xgen-internal-githook" created="Tue, 8 Feb 2022 18:45:31 +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/PHPLIB-783&quot; title=&quot;Update load balancer tests to support dedicated load balancer port&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPLIB-783&quot;&gt;&lt;del&gt;PHPLIB-783&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/PHPLIB-784&quot; title=&quot;Remove use of example.com in Client Side Encryption prose tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPLIB-784&quot;&gt;&lt;del&gt;PHPLIB-784&lt;/del&gt;&lt;/a&gt;: Update load balancer testing config and CSFLE tests (#887)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/PHPLIB-783&quot; title=&quot;Update load balancer tests to support dedicated load balancer port&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPLIB-783&quot;&gt;&lt;del&gt;PHPLIB-783&lt;/del&gt;&lt;/a&gt;: Update load balancer testing config&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Upstream changes in drivers-evergreen-tools now require passing LOAD_BALANCER to run-orchestration.sh. Additionally, service ID mocking is no longer required as of server version 5.1.&lt;/p&gt;

&lt;p&gt;Load balancer testing requires PHPC 1.13.x for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4207&quot; title=&quot;mongoc_topology_scanner_node_t.last_failed ignores errors outside of monitoring for singled-threaded SDAM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4207&quot;&gt;&lt;del&gt;CDRIVER-4207&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Remove PHP memory limit for Evergreen&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/PHPLIB-784&quot; title=&quot;Remove use of example.com in Client Side Encryption prose tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPLIB-784&quot;&gt;&lt;del&gt;PHPLIB-784&lt;/del&gt;&lt;/a&gt;: Replace example.com in CSFLE prose tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Skip collMod test on sharded clusters due to inconsistent result reporting&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-php-library/commit/f54147cbed717b711b1379691d67b58b70b0146d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-php-library/commit/f54147cbed717b711b1379691d67b58b70b0146d&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4257804" author="xgen-internal-githook" created="Fri, 17 Dec 2021 21:41:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4207&quot; title=&quot;mongoc_topology_scanner_node_t.last_failed ignores errors outside of monitoring for singled-threaded SDAM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4207&quot;&gt;&lt;del&gt;CDRIVER-4207&lt;/del&gt;&lt;/a&gt; handshake on new stream in scanner (#915)&lt;br/&gt;
Branch: r1.20&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/2c53188905b681c5bf8d2a74faf2e30739dffc3c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/2c53188905b681c5bf8d2a74faf2e30739dffc3c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4257797" author="xgen-internal-githook" created="Fri, 17 Dec 2021 21:39:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4207&quot; title=&quot;mongoc_topology_scanner_node_t.last_failed ignores errors outside of monitoring for singled-threaded SDAM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4207&quot;&gt;&lt;del&gt;CDRIVER-4207&lt;/del&gt;&lt;/a&gt; handshake on new stream in scanner (#915)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b42543cd15e72cb7dc825b7d6c0cabb6a87af800&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b42543cd15e72cb7dc825b7d6c0cabb6a87af800&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4257071" author="kevin.albertson" created="Fri, 17 Dec 2021 17:04:09 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/915&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/915&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1852160">PHPLIB-717</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1976965">PHPLIB-783</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1987652">PHPC-2071</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1913328">DRIVERS-1968</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <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|hr6ifj:</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>