<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:39 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>[CSHARP-1097] Add ConnectionId to MongoException (or some suitable subclass of it)</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1097</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;When diagnosing why an exception was thrown it is often necessary to refer to the server logs. In order to do so, the following information is needed:&lt;/p&gt;

&lt;p&gt;1. In a multiple server deployment, we need to know which server&apos;s logs to look at&lt;/p&gt;

&lt;p&gt;2. We need to know the server&apos;s connection Id to find the corresponding entry in the server&apos;s log&lt;/p&gt;

&lt;p&gt;Adding a ConnectionId to MongoException would provide that information.&lt;/p&gt;</description>
                <environment></environment>
        <key id="167653">CSHARP-1097</key>
            <summary>Add ConnectionId to MongoException (or some suitable subclass of it)</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="9">Done</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Nov 2014 12:38:40 +0000</created>
                <updated>Thu, 2 Apr 2015 18:06:08 +0000</updated>
                            <resolved>Mon, 24 Nov 2014 16:45:56 +0000</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                    <component>Error Handling</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="771286" author="xgen-internal-githook" created="Mon, 24 Nov 2014 16:45:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1097&quot; title=&quot;Add ConnectionId to MongoException (or some suitable subclass of it)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1097&quot;&gt;&lt;del&gt;CSHARP-1097&lt;/del&gt;&lt;/a&gt;: Add ConnectionId to MongoConnectionException and MongoServerException.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/f1e8659efe2715e6f7c619f144761f9f4f68d437&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/f1e8659efe2715e6f7c619f144761f9f4f68d437&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="766142" author="rstam" created="Mon, 17 Nov 2014 18:27:15 +0000"  >&lt;p&gt;Before we can add a ConnectionId to some exception class we need a suitable exception class to add it to. See &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1106&quot; title=&quot;Review driver exception hierarchy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1106&quot;&gt;&lt;del&gt;CSHARP-1106&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="766132" author="rstam" created="Mon, 17 Nov 2014 18:14:59 +0000"  >&lt;p&gt;MongoConnection is actually too high in the exception hiearchy to be adding a ConnectionId, because not all of its subclasses are related to communication with the server, so a ConnectionId does not always apply.&lt;/p&gt;

&lt;p&gt;Work on this ticket will have to wait until the exception hierarchy is modified to introduce an appropriate intermediate level class to be the base class of all exceptions related to communication with the server. It is that new intermediate class that should have a ConnectionId.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="169728">CSHARP-1106</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|hs3y4n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>147932</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="339">C# Sprint 11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>