<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39: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>[GODRIVER-2821] Don&apos;t return &quot;ErrUnacknowledgedWrite&quot; when using an unacknowledged write concern</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2821</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently, the Go driver returns &lt;tt&gt;mongo.ErrUnacknowledgedWrite&lt;/tt&gt; for any write operation performed with an unacknowledged write concern. That makes handling errors difficult because you have to explicitly check for and discard &lt;tt&gt;mongo.ErrUnacknowledgedWrite&lt;/tt&gt;. Instead, we should just return a &lt;tt&gt;nil&lt;/tt&gt; result and a &lt;tt&gt;nil&lt;/tt&gt; error if everything worked (i.e. if there were no observed errors).&lt;/p&gt;

&lt;p&gt;Definition of done:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Remove &lt;tt&gt;mongo.ErrUnacknowledgedWrite&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Add an &lt;tt&gt;Acknowledged&lt;/tt&gt; bool to all write result types (e.g. &lt;tt&gt;InsertOneResult&lt;/tt&gt;, &lt;tt&gt;BulkWriteResult&lt;/tt&gt;, etc) to indicate whether or not the result information is from an unacknowledged write.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2324189">GODRIVER-2821</key>
            <summary>Don&apos;t return &quot;ErrUnacknowledgedWrite&quot; when using an unacknowledged write concern</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="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="preston.vasquez@mongodb.com">Preston Vasquez</assignee>
                                    <reporter username="matt.dale@mongodb.com">Matt Dale</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Apr 2023 01:12:28 +0000</created>
                <updated>Mon, 5 Feb 2024 20:58:44 +0000</updated>
                                                            <fixVersion>2.0.0</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5950522" author="dbeng-pm-bot" created="Thu, 14 Dec 2023 12:01:03 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you&apos;re still experiencing the issue, and add a comment if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="5929273" author="dbeng-pm-bot" created="Wed, 6 Dec 2023 13:10:55 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.dale%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;matt.dale@mongodb.com&quot;&gt;matt.dale@mongodb.com&lt;/a&gt;! &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2821&quot; title=&quot;Don&amp;#39;t return &amp;quot;ErrUnacknowledgedWrite&amp;quot; when using an unacknowledged write concern&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2821&quot;&gt;GODRIVER-2821&lt;/a&gt; is awaiting your response. &lt;/p&gt;

&lt;p&gt;If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!&lt;/p&gt;</comment>
                            <comment id="5911137" author="JIRAUSER1265158" created="Wed, 29 Nov 2023 01:03:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.dale%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;matt.dale@mongodb.com&quot;&gt;matt.dale@mongodb.com&lt;/a&gt;Should we close this ticket since ErrUnacknowledgeWrite is a sentinel error with a fairly valid purpose? Or should we add an &quot;Acknowledged&quot; bool to the results?&lt;/p&gt;</comment>
                            <comment id="5869789" author="JIRAUSER1265158" created="Fri, 10 Nov 2023 00:28:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.dale%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;matt.dale@mongodb.com&quot;&gt;matt.dale@mongodb.com&lt;/a&gt;The argument for why we return ErrUnacknowledgedWrite is so that a user knows that they are trading speed for unreliability in followup requests. See the link mentioned in the above comment for more details. Do we still want to proceed with implementing this ticket?&lt;/p&gt;</comment>
                            <comment id="5869776" author="JIRAUSER1265158" created="Fri, 10 Nov 2023 00:18:56 +0000"  >&lt;p&gt;For brevity, here is the thread with the details of why we do this: &lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/408527/9/mongo/collection.go#152&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/408527/9/mongo/collection.go#152&lt;/a&gt; .&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-1787</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0w80n:r</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>