<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:17 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-932] Update topology.Server type</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-932</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The &lt;tt&gt;topology.Server&lt;/tt&gt; type will require the following changes:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Remove the &lt;tt&gt;context.Context&lt;/tt&gt;&#160;argument from &lt;tt&gt;Connect&lt;/tt&gt;, since it&apos;s not actually used&lt;/li&gt;
	&lt;li&gt;Move the &lt;tt&gt;topo&lt;/tt&gt;&#160;parameter from the &lt;tt&gt;NewServer&lt;/tt&gt;&#160;method to the &lt;tt&gt;Connect&lt;/tt&gt;&#160;method
	&lt;ul&gt;
		&lt;li&gt;This is necessary because &lt;tt&gt;Disconnect&lt;/tt&gt;&#160;sets this to &lt;tt&gt;nil&lt;/tt&gt;. If we can&apos;t reset it then a &lt;tt&gt;Server&lt;/tt&gt;&#160;can no longer be connected usefully after it is disconnected&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Rename &lt;tt&gt;Connection&lt;/tt&gt;&#160;to &lt;tt&gt;ConnectionLegacy&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Add a new method &lt;tt&gt;Connection&lt;/tt&gt;&#160;that implements the &lt;tt&gt;Connection&lt;/tt&gt;&#160;method of the &lt;tt&gt;driver.Server&lt;/tt&gt;&#160;interface&lt;/li&gt;
	&lt;li&gt;Make &lt;tt&gt;Server&lt;/tt&gt; implement &lt;tt&gt;driver.ErrorProcessor&lt;/tt&gt; to handle SDAM errors.&lt;/li&gt;
	&lt;li&gt;Update &lt;tt&gt;Server&lt;/tt&gt; to use &lt;tt&gt;topology.pool&lt;/tt&gt; and return &lt;tt&gt;topology.Connection&lt;/tt&gt; from &lt;tt&gt;Server.Connection&lt;/tt&gt; and &lt;tt&gt;topology.connectionLegacy&lt;/tt&gt; from &lt;tt&gt;Server.ConnectionLegacy&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Implement a semaphore for max connections.
	&lt;ul&gt;
		&lt;li&gt;This used to be contained in the &lt;tt&gt;connection.Pool&lt;/tt&gt; implementation, but it&apos;s simpler to have the &lt;tt&gt;topology.Server&lt;/tt&gt; type track this now that the pool is a private type within the &lt;tt&gt;topology&lt;/tt&gt; package.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="729864">GODRIVER-932</key>
            <summary>Update topology.Server type</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="kris.brandow@mongodb.com">Kristofer Brandow</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Apr 2019 19:53:19 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:00 +0000</updated>
                            <resolved>Thu, 2 May 2019 15:09:41 +0000</resolved>
                                                    <fixVersion>1.1.0</fixVersion>
                                    <component>Core API</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2232180" author="xgen-internal-githook" created="Thu, 2 May 2019 15:09:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kris Brandow&apos;, &apos;username&apos;: &apos;skriptble&apos;, &apos;email&apos;: &apos;kris@mongodb.com&apos;}
&lt;p&gt;Message: Update topology.Server type&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-932&quot; title=&quot;Update topology.Server type&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-932&quot;&gt;&lt;del&gt;GODRIVER-932&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: I1234c66952cde375a272052f87f9753ab14e7706&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/8748f69dc04ca3ba3757273fb923c4ff14f12f58&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/8748f69dc04ca3ba3757273fb923c4ff14f12f58&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2218317" author="kris.brandow" created="Thu, 18 Apr 2019 19:22:31 +0000"  >&lt;p&gt;Code Review:&#160;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/451187&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/+/451187&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="630203">GODRIVER-628</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="667237">GODRIVER-755</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="729848">GODRIVER-928</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="729851">GODRIVER-929</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="729859">GODRIVER-930</issuekey>
        </issuelink>
                            </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-617</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huanw7:</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>