<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:19:41 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-4015] Relax driver-side options validation checks on server options </title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4015</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt; Remove unnecessary driver-side validation on options passed via &lt;tt&gt;bson_t&lt;/tt&gt; in functions like &lt;tt&gt;mongoc_database_create_collection&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Motivation&lt;/b&gt; Driver-side validation checks on &lt;tt&gt;bson_t&lt;/tt&gt; options that are validated server-side do not provide value to users. Relying on the server to error in these cases helps with forward compatibility.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Example&lt;/b&gt; &lt;tt&gt;mongoc_database_create_collection&lt;/tt&gt; validates a subset of options that are supported on the &lt;tt&gt;create&lt;/tt&gt; command. If future versions of the server support additional types on those values, it will require a driver change. The validation does not help users. Without the validation, they will still be informed of a wrong type from a server-side error.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Notes&lt;/b&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;There are still requirements of driver side checks on some options. For example &#8211;&#160;some CRUD options, like &lt;tt&gt;hint&lt;/tt&gt; have associated wire version checks. The rationale is that the user will otherwise be uninformed if the server does not support the option: &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#:~:text=why%20are%20client-side%20errors%20raised%20for%20some%20unsupported%20options%3F&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#:~:text=why%20are%20client-side%20errors%20raised%20for%20some%20unsupported%20options%3F&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;When determining which checks can be relaxed, consider the behavior of the oldest supported server version.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1769118">CDRIVER-4015</key>
            <summary>Relax driver-side options validation checks on server options </summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Jun 2021 15:36:22 +0000</created>
                <updated>Fri, 10 Feb 2023 13:36:07 +0000</updated>
                                                                            <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-3870</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hz4dz3:</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>