<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:10 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-1860] Avoiding a second server selection timeout when spawning mongocryptd</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-1860</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;The client side encryption spec says that the driver should automatically spawn mongocryptd when it gets a server selection timeout when attempting to run a command against it.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#managing-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#managing-mongocryptd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the C# driver we have observed that it can sometimes take mongocryptd longer than 1 second to spin up, resulting in a second non-recoverable server selection timeout.&lt;/p&gt;

&lt;p&gt;The spec should state that when the driver automatically spawns mongocryptd it should verify that the process is up and running and accepting connections before attempting a second server selection against it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="926695">DRIVERS-1860</key>
            <summary>Avoiding a second server selection timeout when spawning mongocryptd</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Sep 2019 20:19:40 +0000</created>
                <updated>Thu, 11 Nov 2021 03:03:59 +0000</updated>
                            <resolved>Wed, 20 Oct 2021 21:28:24 +0000</resolved>
                                                        <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3950825" author="shane.harvey" created="Mon, 19 Jul 2021 22:43:41 +0000"  >&lt;p&gt;DRIVERS-1387 increased the timeout from 1 second to 10 seconds. Can we close this issue now?&lt;/p&gt;</comment>
                            <comment id="2493602" author="kevin.albertson" created="Mon, 21 Oct 2019 21:56:45 +0000"  >&lt;p&gt;Note, during implementation in libmongoc (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2875&quot; title=&quot;Support Client-side Field Level Encryption&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2875&quot;&gt;&lt;del&gt;CDRIVER-2875&lt;/del&gt;&lt;/a&gt;) I&apos;ve seen repeated failures on a fresh reboot of my machine, due to spawning taking more than one second. I propose we bump this (perhaps 5 seconds?)&lt;/p&gt;</comment>
                            <comment id="2443639" author="rstam" created="Tue, 1 Oct 2019 18:49:37 +0000"  >&lt;p&gt;Note: as mentioned in the CSHARP ticket, mongocryptd actually seems to be launching very quickly (as expected).&lt;/p&gt;

&lt;p&gt;So the server selection timeouts that the C# driver is seeing could be caused by hiccups in the C# driver implementation of SDAM resulting in delays in the new mongcryptd being discovered, rather than delays in the mongocryptd process itself launching and starting to wait for connections.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="947015">CSHARP-2768</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="878254">DRIVERS-1861</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|hr6nfj:</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>