<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:18 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-2466] retryWrites URI option silently ignored if crypto is not available</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2466</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;While testing the PHP driver when compiled without SSL for &lt;a href=&quot;https://jira.mongodb.org/browse/PHPC-1100&quot; title=&quot;Fix test failures when driver is compiled without SSL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPC-1100&quot;&gt;&lt;del&gt;PHPC-1100&lt;/del&gt;&lt;/a&gt;, I noticed that casual consistency tests generally produce the following error:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Could not generate UUID for logical session id, we need a cryptography library like libcrypto, Common Crypto, or CNG&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;However, no such error is produced when &lt;tt&gt;retryWrites=true&lt;/tt&gt; is specified. Rather, libmongoc silently omits the transaction ID from otherwise eligible write commands.&lt;/p&gt;</description>
                <environment></environment>
        <key id="485948">CDRIVER-2466</key>
            <summary>retryWrites URI option silently ignored if crypto is not available</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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Jan 2018 22:54:45 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:11 +0000</updated>
                            <resolved>Tue, 23 Jan 2018 18:52:38 +0000</resolved>
                                    <version>1.9.2</version>
                                    <fixVersion>1.10.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1782539" author="xgen-internal-githook" created="Tue, 23 Jan 2018 18:52:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2466&quot; title=&quot;retryWrites URI option silently ignored if crypto is not available&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2466&quot;&gt;&lt;del&gt;CDRIVER-2466&lt;/del&gt;&lt;/a&gt; warn about retryWrites w/o crypto lib&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5a4e8386011c6854790b5966140c30b81cefa9f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5a4e8386011c6854790b5966140c30b81cefa9f2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1782006" author="jmikola@gmail.com" created="Tue, 23 Jan 2018 13:35:52 +0000"  >&lt;p&gt;I would suggest logging a warning at the very least.&lt;/p&gt;

&lt;p&gt;As a developer, I think an error would be helpful, but understand if you&apos;d rather not. The other scenarios (old server, standalone, multi-update) all seem temporal and could change based on the server, whereas missing a crypto library means this feature will never work (I&apos;m assuming retryable writes needing sessions and sessions needing crypto is not subject to change).&lt;/p&gt;</comment>
                            <comment id="1781913" author="jesse" created="Tue, 23 Jan 2018 11:27:24 +0000"  >&lt;p&gt;We can&apos;t create session ids without crypto, therefore we can&apos;t do retryable writes. In the Retryable Writes Spec our principle was to retry writes whenever possible, and silently ignore the retryWrites option when it&apos;s not possible, e.g. if the server is too old, or is a standalone, or if the write is a multi-update.&lt;/p&gt;

&lt;p&gt;Should we obey that principle if there&apos;s no crypto lib also, or log a warning?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="722730">CDRIVER-3039</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="485933">PHPC-1100</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|htg3dj:</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>