<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:04 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-372] Add a Ping method to the Client type</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-372</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The &lt;tt&gt;Connect&lt;/tt&gt; method of the &lt;tt&gt;Client&lt;/tt&gt; type does not currently block since it just starts goroutines. There is a desire from users to be able to ensure that the &lt;tt&gt;Client&lt;/tt&gt; has actually established a connection to a topology before using the &lt;tt&gt;Client&lt;/tt&gt; in an application. The database/sql package&apos;s &lt;tt&gt;DB&lt;/tt&gt; type has this exact method, so there is precedent for such a method. Add a &lt;tt&gt;Ping&lt;/tt&gt; method to the &lt;tt&gt;Client&lt;/tt&gt; type that selects a server and calls the ping command on it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="531757">GODRIVER-372</key>
            <summary>Add a Ping method to the Client 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="9">Done</resolution>
                                        <assignee username="mathew.robinson@mongodb.com">Mathew Robinson</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                            <label>Stitch</label>
                            <label>neweng</label>
                            <label>newgrad</label>
                    </labels>
                <created>Fri, 20 Apr 2018 17:53:23 +0000</created>
                <updated>Wed, 12 Sep 2018 19:29:07 +0000</updated>
                            <resolved>Wed, 12 Sep 2018 19:29:07 +0000</resolved>
                                                    <fixVersion>0.0.14</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2001006" author="xgen-internal-githook" created="Wed, 12 Sep 2018 18:52:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mathew Robinson&apos;, &apos;email&apos;: &apos;chasinglogic@gmail.com&apos;, &apos;username&apos;: &apos;chasinglogic&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-372&quot; title=&quot;Add a Ping method to the Client type&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-372&quot;&gt;&lt;del&gt;GODRIVER-372&lt;/del&gt;&lt;/a&gt; Add Ping method to mongo.Client&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/b61d6fd44c451a256a81259af0c74b0ca3dbd638&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/b61d6fd44c451a256a81259af0c74b0ca3dbd638&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1994402" author="kris.brandow" created="Wed, 5 Sep 2018 20:37:14 +0000"  >&lt;p&gt;I think it&apos;s okay for ping to take a &lt;tt&gt;*readpref.ReadPref&lt;/tt&gt; here.&lt;/p&gt;</comment>
                            <comment id="1871247" author="jeff.yemin" created="Mon, 23 Apr 2018 13:41:47 +0000"  >&lt;p&gt;If we&apos;re going to do this, the method should optionally take a read preference since we don&apos;t know what server type the application actually needs (i.e. it might be a read-only app that just needs any secondary to be available).&lt;/p&gt;

&lt;p&gt;That&apos;s perhaps why most drivers just require applications to call RunCommand, which already takes a read preference, when they want to ping.&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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htkyfz:</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>