<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:27 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-411] Add a new uuidRepresentation value, &quot;binary&quot;</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-411</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;This ticket only applies to, I believe, the Python, Java, and .NET drivers.&lt;/p&gt;

&lt;p&gt;When a document returned from the database includes values of type BSON Binary with subtype 4, drivers that support native UUID types decode those values to their native UUID type with no changes to the order of the bytes returned by the server, ignoring uuidRepresentation. If the application has set uuidRepresentation to &quot;standard&quot; the value will be encoded back to BSON Binary with subtype 4 and round trip properly. If the application has set uuidRepresentation to some other value (or used the default, which is driver specific) the encoder will encode the value to BSON binary subtype 3, and possibly change its byte order, when round tripped. The problem gets worse when the database returns values of both BSON binary subtype 3 and subtype 4 in a single document (this could be common with change streams which return a subtype 4 BSON Binary as part of the resumeToken value).&lt;/p&gt;

&lt;p&gt;To solve this problem I propose we add a new uuidRepresentation, &quot;binary&quot;. When uuidRepresentation is set to &quot;binary&quot; the driver decodes BSON Binary with subtype 3 or 4 to Binary with the given subtype instead of decoding to the driver&apos;s native UUID type. This setting can be used to reliably round trip UUIDs regardless of their original format. &lt;/p&gt;</description>
                <environment></environment>
        <key id="422090">DRIVERS-411</key>
            <summary>Add a new uuidRepresentation value, &quot;binary&quot;</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="bernie@mongodb.com">Bernie Hackett</assignee>
                                    <reporter username="bernie@mongodb.com">Bernie Hackett</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Aug 2017 22:23:01 +0000</created>
                <updated>Sat, 28 Oct 2023 10:44:50 +0000</updated>
                            <resolved>Thu, 7 Jun 2018 22:07:17 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1815003" author="behackett" created="Fri, 23 Feb 2018 23:34:52 +0000"  >&lt;p&gt;I think we can close this. The use case I had for it was resolved by the server in 3.6.&lt;/p&gt;</comment>
                    </comments>
                    <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|ht5q5j:</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>