<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:36 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-2449] Do not connect to mongocryptd if shared library is loaded</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2449</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-color: #21313c;border-style: solid;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;Do not connect to mongocryptd if shared library is loaded&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;Successfully loading shared library implicitly assumed that MongoClient must not be created for mongocryptd, now this statement is explicit.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Howdoesthisaffecttheenduser%3F&quot;&gt;&lt;/a&gt;How does this affect the end user?&lt;/h4&gt;
&lt;p&gt;If a driver spawns a MongoClient for mongocryptd when a shared library is in place, this client will be no-op if mongocryptd is available and will generate hidden SDAM exceptions in another case.&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;Nothing is on fire, but better to check this behavior to avoid confusions like why I see mongocryptd exceptions/calls when I use shared library&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;no&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2145171">DRIVERS-2449</key>
            <summary>Do not connect to mongocryptd if shared library is loaded</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="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="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Sep 2022 14:13:17 +0000</created>
                <updated>Thu, 27 Oct 2022 13:08:13 +0000</updated>
                                                                                    <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4931726" author="xgen-internal-githook" created="Thu, 27 Oct 2022 13:00:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2449&quot; title=&quot;Do not connect to mongocryptd if shared library is loaded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2449&quot;&gt;DRIVERS-2449&lt;/a&gt; Omit mongocryptd client (#1330)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/09f1d51d549c141c310055e6d6802bc9e297258d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/09f1d51d549c141c310055e6d6802bc9e297258d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4859400" author="kevin.albertson" created="Tue, 27 Sep 2022 17:55:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2451&quot; title=&quot;Test mongocryptd is not spawned when shared library is loaded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2451&quot;&gt;&lt;del&gt;DRIVERS-2451&lt;/del&gt;&lt;/a&gt; proposes a separate test: that mongocryptd is not spawned when shared library is loaded.&lt;/p&gt;</comment>
                            <comment id="4858294" author="dmitry.lukyanov" created="Tue, 27 Sep 2022 13:44:09 +0000"  >&lt;blockquote&gt;
&lt;p&gt;what do you propose to change about&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin@mongodb.com&quot;&gt;jeff.yemin@mongodb.com&lt;/a&gt;, there is a linked PR with proposal.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;but also that a driver should not try to connect to mongocrpytd (whether auto-spawned or not)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;yes, you&apos;re right.&lt;br/&gt;
In c# solution, I simply made a MongoClient for mongocryptd &lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/dfbe10f30f33dab6188617f73785eda0755bb99b#diff-2884a1d093312e76faa3b78739399556a6d8f7683520cf3987e50cecfb5191bfR78&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;lazy&lt;/a&gt;. I guess something similar can be done for other drivers. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Also, can you think of a way to test this behavior? &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I can think only about unit tests with reflection for now. &lt;br/&gt;
cc: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.albertson%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kevin.albertson@mongodb.com&quot;&gt;kevin.albertson@mongodb.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4858046" author="jeff.yemin" created="Tue, 27 Sep 2022 12:21:13 +0000"  >&lt;p&gt;Also, can you think of a way to test this behavior?&#160;&lt;/p&gt;</comment>
                            <comment id="4858035" author="jeff.yemin" created="Tue, 27 Sep 2022 12:18:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.lukyanov%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dmitry.lukyanov@mongodb.com&quot;&gt;dmitry.lukyanov@mongodb.com&lt;/a&gt; what do you propose to change about &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#mongocryptd?&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#mongocryptd?&lt;/a&gt;&#160; That not only should mongocryptd should not be spawned when the shared lib is required or available, but also that a driver should not try to connect to mongocrpytd (whether auto-spawned or not)?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2146230">CXX-2578</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146234">NODE-4663</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146237">PHPLIB-988</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146229">CDRIVER-4480</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146231">CSHARP-4335</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146232">GODRIVER-2559</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146233">JAVA-4741</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146235">MOTOR-1034</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146236">PYTHON-3446</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146238">RUBY-3133</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146239">RUST-1479</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2146311">DRIVERS-2451</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Ensure that a MongoClient for mongocryptd is not created when shared library is in use&lt;/p&gt;</customfieldvalue>

                        </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-4480'>CDRIVER-4480</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.24.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2578'>CXX-2578</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4335'>CSHARP-4335</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.19.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2559'>GODRIVER-2559</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.12.0, 1.12.0-alpha1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4741'>JAVA-4741</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>4.10.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4663'>NODE-4663</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1034'>MOTOR-1034</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3446'>PYTHON-3446</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>4.4</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-988'>PHPLIB-988</a>
    </td>
    <td>Blocked</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3133'>RUBY-3133</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.19.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1479'>RUST-1479</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1640'>SWIFT-1640</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DRIVERS-1950</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0udrc:</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_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>5.3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>