<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:57 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-1226] localThresholdMS does not default to 15 ms</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1226</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;There&apos;s a &lt;tt&gt;defaultLocalThreshold&lt;/tt&gt; constant defined (to 15 ms) but it&apos;s completely unreferenced.  It seems like the intention was to make &lt;tt&gt;Client.localThreshold&lt;/tt&gt; default to &lt;tt&gt;defaultLocalThreshold&lt;/tt&gt;, possibly in &lt;tt&gt;newClient&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Confusingly, there is one usage of &lt;tt&gt;description.LatencySelector(15 * time.Millisecond)&lt;/tt&gt;, in &lt;tt&gt;Operation.selectServer&lt;/tt&gt;, but my read of that code is that it would almost never come into play, since a selector will almost always be specified.  Either way, it seems like that should use &lt;tt&gt;defaultLocalThreshold&lt;/tt&gt;, rather than hardcoding &lt;tt&gt;15 * time.Millisecond&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;I suspect all of this means that localThresholdMS ends up defaulting to 0 ms.&lt;/p&gt;</description>
                <environment></environment>
        <key id="890317">GODRIVER-1226</key>
            <summary>localThresholdMS does not default to 15 ms</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="13201">Fixed</resolution>
                                        <assignee username="kris.brandow@mongodb.com">Kristofer Brandow</assignee>
                                    <reporter username="bartle">David Bartley</reporter>
                        <labels>
                    </labels>
                <created>Sat, 10 Aug 2019 07:14:43 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:41 +0000</updated>
                            <resolved>Tue, 13 Aug 2019 15:13:05 +0000</resolved>
                                    <version>1.0.4</version>
                                    <fixVersion>1.1.0</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2368744" author="xgen-internal-githook" created="Tue, 13 Aug 2019 15:12:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kris Brandow&apos;, &apos;email&apos;: &apos;kris@mongodb.com&apos;, &apos;username&apos;: &apos;skriptble&apos;}
&lt;p&gt;Message: Properly set default local threshold in Client&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1226&quot; title=&quot;localThresholdMS does not default to 15 ms&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1226&quot;&gt;&lt;del&gt;GODRIVER-1226&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: I7fcc5b09a49b80908d04f3c4fde75b6958748b5f&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/e25bb908c77dadf6906c124937cb5f112c15d099&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/e25bb908c77dadf6906c124937cb5f112c15d099&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2366737" author="kris.brandow" created="Mon, 12 Aug 2019 14:29:38 +0000"  >&lt;p&gt;Code review:&#160;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/464903&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/+/464903&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2366687" author="kris.brandow" created="Mon, 12 Aug 2019 14:09:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bartle&quot; class=&quot;user-hover&quot; rel=&quot;bartle&quot;&gt;bartle&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for catching this. Definitely a bug from that patch, thanks for finding it.&lt;/p&gt;

&lt;p&gt;--Kris&lt;/p&gt;</comment>
                            <comment id="2365674" author="bartle" created="Sat, 10 Aug 2019 07:18:28 +0000"  >&lt;p&gt;Indeed, prior to &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/32946b1f8b9412a6a94e68ff789575327bb257cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/32946b1f8b9412a6a94e68ff789575327bb257cf&lt;/a&gt; &lt;tt&gt;Client.localThreshold&lt;/tt&gt; would have been set to &lt;tt&gt;defaultLocalThreshold&lt;/tt&gt; in &lt;tt&gt;newClient&lt;/tt&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <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|hv8wjb:</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>