<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:56 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-1215] lastWriteDate is parsed from isMaster incorrectly</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1215</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Per &lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/isMaster/#isMaster.lastWrite&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/reference/command/isMaster/#isMaster.lastWrite&lt;/a&gt;, lastWriteDate is contained in a sub-field of lastWrite, but the go driver attempts to parse lastWriteDate as if it were a top-level field.&lt;/p&gt;

&lt;p&gt;This bug exists in 3 places (seems like a separate issue that this logic is duplicated 3 times):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/58da8e604dddd89f6c03a5ecf3cb406e646685df/internal/results.go#L24&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/58da8e604dddd89f6c03a5ecf3cb406e646685df/internal/results.go#L24&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/58da8e604dddd89f6c03a5ecf3cb406e646685df/x/mongo/driver/description/server.go#L124&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/58da8e604dddd89f6c03a5ecf3cb406e646685df/x/mongo/driver/description/server.go#L124&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/58da8e604dddd89f6c03a5ecf3cb406e646685df/x/mongo/driver/operation/ismaster.go#L135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/58da8e604dddd89f6c03a5ecf3cb406e646685df/x/mongo/driver/operation/ismaster.go#L135&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Separately, it appears opTime in the lastWrite sub-document is also not parsed, despite &quot;server-discovery-and-monitoring.rst&quot; suggesting they should be parsed out (and presumably made available to clients).&lt;/p&gt;</description>
                <environment></environment>
        <key id="883230">GODRIVER-1215</key>
            <summary>lastWriteDate is parsed from isMaster incorrectly</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="isabella.siu@mongodb.com">Isabella Siu</assignee>
                                    <reporter username="bartle">David Bartley</reporter>
                        <labels>
                    </labels>
                <created>Fri, 2 Aug 2019 18:57:32 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:42 +0000</updated>
                            <resolved>Mon, 12 Aug 2019 18:26:40 +0000</resolved>
                                                    <fixVersion>1.1.0</fixVersion>
                                    <component>Server Discovery and Monitoring</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2367203" author="xgen-internal-githook" created="Mon, 12 Aug 2019 17:54:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;iwysiu&apos;, &apos;email&apos;: &apos;isabella.siu@10gen.com&apos;, &apos;username&apos;: &apos;iwysiu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1215&quot; title=&quot;lastWriteDate is parsed from isMaster incorrectly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1215&quot;&gt;&lt;del&gt;GODRIVER-1215&lt;/del&gt;&lt;/a&gt; parse lastWriteDate from isMaster correctly&lt;/p&gt;

&lt;p&gt;Change-Id: If1f5b0b7fb7561dda8cfaf0dd4fd88ae18f2d60b&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/74cffef35f2e287eb38713f394013b5fb82ccff1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/74cffef35f2e287eb38713f394013b5fb82ccff1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2361341" author="isabella.siu" created="Wed, 7 Aug 2019 15:07:43 +0000"  >&lt;p&gt;code review url:&#160;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/464416&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/+/464416&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2356543" author="bartle" created="Fri, 2 Aug 2019 20:09:14 +0000"  >&lt;p&gt;This value feeds into maxStalenessSeconds for read preference (in selectSecondaries), so I imagine that can&apos;t be working correctly either.&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="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|hv7r3b:</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>