<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41: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>[CSHARP-2123] Driver should ensure maxTimeMS value sent to server is valid</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2123</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The .NET driver currently sends the maxTimeMS parameter to the server as a BSON double. The server requires that the value for maxTimeMS be an integral number of milliseconds. When the driver converts a MaxTime TimeSpan value to a maxTimeMS to send to the server it should map values that contain fractional milliseconds to an appropriate integral value.&lt;/p&gt;

&lt;p&gt;Fractional milliseconds should always be adjusted to the next highest integral value.&lt;/p&gt;

&lt;p&gt;We don&apos;t want to round down because:&lt;/p&gt;

&lt;p&gt;1. That could result in the server aborting the operation sooner than the application specified&lt;br/&gt;
2. Rounding values smaller than 1.0 down to 0.0 would result in unexpected behavior because the server interprets 0 as meaning no maxTimeMS&lt;/p&gt;</description>
                <environment></environment>
        <key id="470338">CSHARP-2123</key>
            <summary>Driver should ensure maxTimeMS value sent to server is valid</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="-1">Unassigned</assignee>
                                    <reporter username="byTimo">Andrey Kondratyev [X]</reporter>
                        <labels>
                    </labels>
                <created>Sun, 10 Dec 2017 14:17:08 +0000</created>
                <updated>Sat, 28 Oct 2023 11:49:11 +0000</updated>
                            <resolved>Mon, 8 Jan 2018 20:51:07 +0000</resolved>
                                    <version>2.4.4</version>
                                    <fixVersion>2.7.0</fixVersion>
                                    <component>Read Operations</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1768153" author="xgen-internal-githook" created="Mon, 8 Jan 2018 20:50:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;username&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2123&quot; title=&quot;Driver should ensure maxTimeMS value sent to server is valid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2123&quot;&gt;&lt;del&gt;CSHARP-2123&lt;/del&gt;&lt;/a&gt;: Make MaxTimeHelper internal.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/4b727f6a693aa7f13c6bf0a9b49b988b5402480b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/4b727f6a693aa7f13c6bf0a9b49b988b5402480b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1768152" author="xgen-internal-githook" created="Mon, 8 Jan 2018 20:50:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;username&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2123&quot; title=&quot;Driver should ensure maxTimeMS value sent to server is valid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2123&quot;&gt;&lt;del&gt;CSHARP-2123&lt;/del&gt;&lt;/a&gt;: Round up to the next highest integral maxTimeMS instead of truncating.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/50c119f6c1a5718e45412874ca46bf8d7aa5a688&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/50c119f6c1a5718e45412874ca46bf8d7aa5a688&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1768151" author="xgen-internal-githook" created="Mon, 8 Jan 2018 20:50:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrey Kondratyev&apos;, &apos;username&apos;: &apos;byTimo&apos;, &apos;email&apos;: &apos;race.timo@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2123&quot; title=&quot;Driver should ensure maxTimeMS value sent to server is valid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2123&quot;&gt;&lt;del&gt;CSHARP-2123&lt;/del&gt;&lt;/a&gt; Change maxTimeMS set from double to int&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/ef9872aab393568ca5a12e167d06c0c5188c78b7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/ef9872aab393568ca5a12e167d06c0c5188c78b7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="172912" name="MongoError.png" size="6895" author="byTimo" created="Sun, 10 Dec 2017 14:15:34 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></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|htdjtr:</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>