<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:52 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-1551] Collation: Raise error for command helpers, and support aggregate and createindex</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1551</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Talking with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rassi&quot; class=&quot;user-hover&quot; rel=&quot;rassi&quot;&gt;rassi&lt;/a&gt; on how collation worked in mongoc.. We don&apos;t actually raise error when command helpers using &lt;tt&gt;&amp;#95;mongoc_client_command_with_opts&lt;/tt&gt; hit a server that doesn&apos;t support collation.&lt;/p&gt;

&lt;p&gt;Furthermore, it seems the aggregate helper only picks out options it knows from the &lt;tt&gt;opts&lt;/tt&gt; argument, rather then &lt;tt&gt;bson_concat&lt;/tt&gt; ing the entire &lt;tt&gt;bson_t&lt;/tt&gt;.&lt;/p&gt;


&lt;p&gt;And, &lt;tt&gt;mongoc_collection_create_index_with_opts&lt;/tt&gt; needs an &lt;em&gt;explicit&lt;/em&gt; support for the &lt;tt&gt;collation&lt;/tt&gt; argument as its part of the &quot;indexes&quot; subdocument, not the command itself&lt;/p&gt;</description>
                <environment></environment>
        <key id="317363">CDRIVER-1551</key>
            <summary>Collation: Raise error for command helpers, and support aggregate and createindex</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="bjori">Hannes Magnusson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Sep 2016 00:14:56 +0000</created>
                <updated>Wed, 19 Oct 2016 23:26:09 +0000</updated>
                            <resolved>Fri, 23 Sep 2016 20:30:03 +0000</resolved>
                                    <version>1.5.0</version>
                                    <fixVersion>1.5.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1413271" author="xgen-internal-githook" created="Wed, 19 Oct 2016 23:26:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1551&quot; title=&quot;Collation: Raise error for command helpers, and support aggregate and createindex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1551&quot;&gt;&lt;del&gt;CDRIVER-1551&lt;/del&gt;&lt;/a&gt; use BAD_WIRE_VERSION for collation errs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9bbc314eeebbc8f975628c74c3199721bf26ab56&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9bbc314eeebbc8f975628c74c3199721bf26ab56&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1413130" author="jesse" created="Wed, 19 Oct 2016 21:18:17 +0000"  >&lt;p&gt;Our patches crossed and made some tests fail, I can fix it up. Let&apos;s set the error code to MONGOC_ERROR_PROTOCOL_BAD_WIRE_VERSION when the server&apos;s too old for collation, and MONGOC_ERROR_COMMAND_INVALID_ARG when collation is combined with w=0. I&apos;ll submit a patch momentarily.&lt;/p&gt;</comment>
                            <comment id="1412911" author="xgen-internal-githook" created="Wed, 19 Oct 2016 19:04:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1551&quot; title=&quot;Collation: Raise error for command helpers, and support aggregate and createindex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1551&quot;&gt;&lt;del&gt;CDRIVER-1551&lt;/del&gt;&lt;/a&gt; err code for collation and old server&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f306c1b11c6c3156462972f9b19319a00683359b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f306c1b11c6c3156462972f9b19319a00683359b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1392366" author="xgen-internal-githook" created="Fri, 23 Sep 2016 20:28:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1551&quot; title=&quot;Collation: Raise error for command helpers, and support aggregate and createindex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1551&quot;&gt;&lt;del&gt;CDRIVER-1551&lt;/del&gt;&lt;/a&gt; Add collation support for index creation and aggregate&lt;/p&gt;

&lt;p&gt;Also raise error when the server doesn&apos;t support collation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5263a2b07823f565e1a122da116df94720020a9f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5263a2b07823f565e1a122da116df94720020a9f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="300445">CDRIVER-1372</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="300442">CXX-971</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="314650">CDRIVER-1527</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-1524</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hspxe7:</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>