<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:47 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>[GODRIVER-707] method/operation to determine if a write error is a duplicate key error</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-707</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;this might just be a usability consideration, but I can&apos;t find anyway to determine or check if an error from an insert or an upsert is a duplicate key error, without (presumably, parsing the string form of the error, which looks to be derived from what the server transmits. &lt;/p&gt;</description>
                <environment></environment>
        <key id="655141">GODRIVER-707</key>
            <summary>method/operation to determine if a write error is a duplicate key error</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="13202">Works as Designed</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="sam.kleinman">Sam Kleinman</reporter>
                        <labels>
                            <label>evg</label>
                    </labels>
                <created>Sat, 15 Dec 2018 03:51:42 +0000</created>
                <updated>Fri, 27 Oct 2023 13:16:38 +0000</updated>
                            <resolved>Thu, 10 Jan 2019 19:24:15 +0000</resolved>
                                                    <fixVersion>0.3.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2111498" author="divjot.arora" created="Thu, 10 Jan 2019 19:24:15 +0000"  >&lt;p&gt;Duplicate key errors can be captured by casting the error from an InsertOne or InsertMany to mongo.WriteErrors or mongo.BulkWriteException, respectively.&lt;/p&gt;</comment>
                            <comment id="2107948" author="ian@10gen.com" created="Mon, 7 Jan 2019 21:52:01 +0000"  >&lt;p&gt;Probably do the same thing we did for the topology disconnected error and find all of the places we used it and replace  command.Error with mongo.CommandError.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="740615">GODRIVER-972</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|hr8btb:</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>