<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:17:23 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-3203] Choose compressors based on order presented, not order from server reply</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3203</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/a27672890077844a9ade3b84c83c707e68d5b644/source/compression/OP_COMPRESSED.rst#mongodb-handshake-amendment&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;The OP_COMPRESSED spec states&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;When compressing, clients MUST use the first compressor in the client&apos;s configured compressors list that is also in the servers list.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;But the compressor to use&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/283c4a84145a12632205e18ec14797d499aec2f7/src/libmongoc/src/mongoc/mongoc-server-description.c#L997-L1004&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;is retrieved from the server description&lt;/a&gt; which is &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/283c4a84145a12632205e18ec14797d499aec2f7/src/libmongoc/src/mongoc/mongoc-server-description.c#L657-L662&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;set directly from the isMaster reply&lt;/a&gt;. So we always take preference of whatever order the compressors are in the server reply.&lt;/p&gt;

&lt;p&gt;In practice, this may not be an issue currently. As I have not been able to reproduce any case where the server returns compressors in an order different from the client. But if that behavior changes in the future, we&apos;d be using a lower priority compressor than what the client requested.&lt;/p&gt;</description>
                <environment></environment>
        <key id="811624">CDRIVER-3203</key>
            <summary>Choose compressors based on order presented, not order from server reply</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="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>Mon, 24 Jun 2019 13:59:04 +0000</created>
                <updated>Thu, 31 Mar 2022 13:34:36 +0000</updated>
                                                                            <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="676095">CDRIVER-2930</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6n0f:</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>