<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:19:59 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-4121] Use OP_MSG to authenticate if server supports OP_MSG</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4121</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>
  &lt;div id=&quot;script-target-wrapper&quot;&gt;
    &lt;br&gt;
    &lt;b&gt;DRIVERS Ticket Description&lt;/b&gt;
    &lt;div id=&quot;lang-script-target&quot;&gt;
      &lt;!-- This block of HTML and the script in it auto-populate the      DRIVERS ticket description on page load. --&gt;
      Script Target - If you can read this text, the script has failed
      &lt;script&gt;
        $.get(&apos;https://jira.mongodb.org/browse/DRIVERS-1873&apos;,
          function(data) {
            var description = $(data).find(&quot;#description-val&quot;);
            $(&quot;#lang-script-target&quot;).html(description);
        });
      &lt;/script&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description>
                <environment></environment>
        <key id="1846002">CDRIVER-4121</key>
            <summary>Use OP_MSG to authenticate if server supports OP_MSG</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13202">Works as Designed</resolution>
                                        <assignee username="ezra.chung@mongodb.com">Ezra Chung</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                            <label>size-small</label>
                    </labels>
                <created>Mon, 9 Aug 2021 16:39:56 +0000</created>
                <updated>Fri, 27 Oct 2023 13:14:07 +0000</updated>
                            <resolved>Fri, 28 Apr 2023 20:11:49 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5398876" author="xgen-internal-githook" created="Wed, 3 May 2023 20:28:47 +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-4193&quot; title=&quot;Require hello command for connection handshake to use OP_MSG, disallowing OP_QUERY&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4193&quot;&gt;&lt;del&gt;CDRIVER-4193&lt;/del&gt;&lt;/a&gt; Ensure OP_MSG for handshakes and fix RPC op_egress counters (#1256)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Move SHM count function into mongoc-counters-private.h&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Declare test_framework_has_compressors in test-libmongoc.h&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Allow /counters/op_msg and /counters/op_compressed with auth&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add _mongoc_rpc_op_egress_inc&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4193&quot; title=&quot;Require hello command for connection handshake to use OP_MSG, disallowing OP_QUERY&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4193&quot;&gt;&lt;del&gt;CDRIVER-4193&lt;/del&gt;&lt;/a&gt; RTT thread should also use hello if serverApi is given&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Do not increment RPC op_egress counters in mock server&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add /counters/rpc/op_egress tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4121&quot; title=&quot;Use OP_MSG to authenticate if server supports OP_MSG&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4121&quot;&gt;&lt;del&gt;CDRIVER-4121&lt;/del&gt;&lt;/a&gt; Add /counters/rpc/egress/auth&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4622&quot; title=&quot;OP_QUERY egress counter may overcount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4622&quot;&gt;&lt;del&gt;CDRIVER-4622&lt;/del&gt;&lt;/a&gt; RPC op_egress increment: mongoc_async_cmd_new -&amp;gt; mongoc_async_cmd_phase_send&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add mongoc_&amp;lt;object&amp;gt;_uses_loadbalanced&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4265&quot; title=&quot;Require hello command + OP_MSG when &amp;#39;loadBalanced=True&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4265&quot;&gt;&lt;del&gt;CDRIVER-4265&lt;/del&gt;&lt;/a&gt; Use OP_MSG for handshakes when loadBalanced=true&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Clarify meaning of RPC op_egress counters in documentation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f14370ea8130a645080dc6f78342f53b25ddb339&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f14370ea8130a645080dc6f78342f53b25ddb339&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1846003">CXX-2344</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1846010">PHPC-1941</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2321260">CDRIVER-4622</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2325465">CDRIVER-4629</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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6i7r:f0i6</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>
                                                                                                                        <customfield id="customfield_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21985"><![CDATA[6.0 Required]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>5.1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;DRIVERS-1873:&lt;br/&gt;
This ticket requires drivers to ensure that they are using OP_MSG for the authentication step if it is supported (maxWireVersion &amp;gt;= 6) as part of the process of establishing a new connection. Currently, some drivers still use OP_QUERY for the authentication step even if OP_MSG is supported. As support is being dropped for OP_QUERY, Once the server team implements &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59085&quot; title=&quot;Remove _isSelf/saslStart/saslContinue/buildinfo/authenticate from allowlist for OP_QUERY commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59085&quot;&gt;SERVER-59085&lt;/a&gt; in MongoDB using OP_QUERY for anything other than the first step of the handshake will raise an error. Thus, once that version is released we will be able to test this change by ensuring that the driver is able to successfully connect to that version server.&lt;br/&gt;
 There are no spec test changes associated with this ticket.&lt;br/&gt;
 Check out the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst#authentication-handshake&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Authentication Handshake spec&lt;/a&gt; for more details.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>