<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:40 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-1097] mongo.NewClient may have some problem</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1097</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description></description>
                <environment>win 10</environment>
        <key id="782106">GODRIVER-1097</key>
            <summary>mongo.NewClient may have some problem</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13203">Gone away</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="qianlu5110@126.com">lu qian</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 May 2019 08:20:51 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:24 +0000</updated>
                            <resolved>Thu, 27 Jun 2019 14:51:30 +0000</resolved>
                                                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2273189" author="divjot.arora" created="Wed, 5 Jun 2019 21:28:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=qianlu5110%40126.com&quot; class=&quot;user-hover&quot; rel=&quot;qianlu5110@126.com&quot;&gt;qianlu5110@126.com&lt;/a&gt; Can you confirm that this works if you use &lt;tt&gt;options.Client.ApplyURI(&quot;mongodb://192.168.96.240:27017&quot;)&lt;/tt&gt; instead? Also, can you give any additional information about the error you&apos;re getting when trying to use &lt;tt&gt;SetHosts&lt;/tt&gt;?&lt;/p&gt;</comment>
                            <comment id="2264809" author="qianlu5110@126.com" created="Thu, 30 May 2019 08:28:15 +0000"  >&lt;p&gt;clientOptions := options.Client()&lt;br/&gt;
clientOptions.Hosts = []string{&quot;192.168.96.240:27017&quot;}&lt;br/&gt;
clientOptions.Auth = nil&lt;/p&gt;


&lt;p&gt;// if i use this method,i can&apos;t get a effective client&lt;br/&gt;
client, err := mongo.NewClient(clientOptions)&lt;br/&gt;
if err != nil &lt;/p&gt;
{
 fmt.Println(err)
}

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;// I don&apos;t want use default way to parse client options.&#160;It&apos;s just a simple question.&lt;/p&gt;

&lt;p&gt;// Thanks&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="218374" name="main.go" size="1124" author="qianlu5110@126.com" created="Thu, 30 May 2019 08:23:12 +0000"/>
                    </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|hur513:</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>