<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:38:19 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-2325] Expose server reply in errors</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2325</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Background &amp;amp; Motivation&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;There is an internal use case to check for a field in server error replies.&lt;/p&gt;

&lt;p&gt;This field is not exposed by any of the existing error types: &lt;tt&gt;CommandError,&lt;/tt&gt; &lt;tt&gt;WriteError,&lt;/tt&gt; &lt;tt&gt;WriteException,&lt;/tt&gt; &lt;tt&gt;BulkWriteException.&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;br/&gt;
 Expose the full server reply in error types.&lt;/p&gt;

&lt;p&gt;Investigate possible options for exposing this API.&lt;/p&gt;

&lt;p&gt;Consider adding a method to the &lt;tt&gt;ServerError&lt;/tt&gt; interface.&lt;/p&gt;

&lt;p&gt;An alternative is to return a wrapped error containing the full server reply.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1994179">GODRIVER-2325</key>
            <summary>Expose server reply in errors</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Mar 2022 19:52:26 +0000</created>
                <updated>Mon, 18 Jul 2022 14:09:23 +0000</updated>
                            <resolved>Thu, 24 Mar 2022 22:12:13 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4441587" author="xgen-internal-githook" created="Tue, 29 Mar 2022 13:46:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jason Chan&apos;, &apos;email&apos;: &apos;jason.chan@mongodb.com&apos;, &apos;username&apos;: &apos;jasonjhchan&apos;}
&lt;p&gt;Message: REP-347 Implement per-shard change streams and update go driver version to include &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2337&quot; title=&quot;Support custom options in $changeStream stage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2337&quot;&gt;&lt;del&gt;GODRIVER-2337&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2325&quot; title=&quot;Expose server reply in errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2325&quot;&gt;&lt;del&gt;GODRIVER-2325&lt;/del&gt;&lt;/a&gt; (#241)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongosync/commit/59f9953dc32b352b8891a0c7e7f6880d4fa106c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongosync/commit/59f9953dc32b352b8891a0c7e7f6880d4fa106c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4433943" author="xgen-internal-githook" created="Thu, 24 Mar 2022 22:12:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benjamin Rewis&apos;, &apos;email&apos;: &apos;32186188+benjirewis@users.noreply.github.com&apos;, &apos;username&apos;: &apos;benjirewis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2325&quot; title=&quot;Expose server reply in errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2325&quot;&gt;&lt;del&gt;GODRIVER-2325&lt;/del&gt;&lt;/a&gt; Expose raw server response in relevant errors (#871)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/57747f8fe7130b6afdade2a946d399afe6ae7079&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/57747f8fe7130b6afdade2a946d399afe6ae7079&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4404828" author="benji.rewis" created="Thu, 10 Mar 2022 20:06:22 +0000"  >&lt;p&gt;Here&apos;s an investigatory PR of a new &lt;tt&gt;RawResponse&lt;/tt&gt; method on &lt;tt&gt;ServerError&lt;/tt&gt;:&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/871&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/871&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2087773">GODRIVER-2487</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|i0528s:</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>