<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:15:07 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>[SERVER-47750] ismaster server response now returns a string instead of a boolean</title>
                <link>https://jira.mongodb.org/browse/SERVER-47750</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Recently the value type for the &lt;tt&gt;ismaster&lt;/tt&gt; property of an &lt;tt&gt;ismaster&lt;/tt&gt; command response changed from a boolean to a string. I believe &lt;a href=&quot;https://github.com/mongodb/mongo/commit/622592c8cd4801d88d5a5cdf9933ec200f1aa2b0#diff-afb509918b98748039747ea32cdfcf09R41&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this change&lt;/a&gt; is responsible. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1328019">SERVER-47750</key>
            <summary>ismaster server response now returns a string instead of a boolean</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="pavithra.vetriselvan@mongodb.com">Pavithra Vetriselvan</assignee>
                                    <reporter username="matt.broadstone@mongodb.com">Matt Broadstone</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Apr 2020 14:01:03 +0000</created>
                <updated>Sun, 29 Oct 2023 22:09:06 +0000</updated>
                            <resolved>Fri, 24 Apr 2020 20:42:30 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="3057274" author="matt.broadstone" created="Mon, 27 Apr 2020 19:06:43 +0000"  >&lt;p&gt;thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pavithra.vetriselvan&quot; class=&quot;user-hover&quot; rel=&quot;pavithra.vetriselvan&quot;&gt;pavithra.vetriselvan&lt;/a&gt;!&lt;/p&gt;</comment>
                            <comment id="3057137" author="pavithra.vetriselvan" created="Mon, 27 Apr 2020 18:06:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.broadstone&quot; class=&quot;user-hover&quot; rel=&quot;matt.broadstone&quot;&gt;matt.broadstone&lt;/a&gt;, I ended up filing &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47798&quot; title=&quot;Audit isMaster response validation for mongod and mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47798&quot;&gt;&lt;del&gt;SERVER-47798&lt;/del&gt;&lt;/a&gt;, which we didn&apos;t get to in Triage today. It should be triaged next Monday.&lt;/p&gt;</comment>
                            <comment id="3055636" author="matt.broadstone" created="Sat, 25 Apr 2020 12:10:56 +0000"  >&lt;p&gt;Whatever you think is best. I would just like us to have coverage around this considering it it&apos;s critical &quot;public API&quot; between server and drivers. &lt;/p&gt;</comment>
                            <comment id="3055061" author="pavithra.vetriselvan" created="Fri, 24 Apr 2020 21:20:58 +0000"  >&lt;p&gt;The unittests in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46956&quot; title=&quot;Add quiesce mode to the MongosTopologyCoordinator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46956&quot;&gt;&lt;del&gt;SERVER-46956&lt;/del&gt;&lt;/a&gt; will only apply to mongos isMaster responses. So, I&apos;m happy to file a ticket to audit our existing isMaster tests (for mongod as well) and ensure/add testing for validation of the response fields. &lt;/p&gt;</comment>
                            <comment id="3055050" author="pavithra.vetriselvan" created="Fri, 24 Apr 2020 21:12:51 +0000"  >&lt;p&gt;Agreed, I checked my changes locally by adding a check to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cfbd4d0186cd69ba36ed6a9622198b1b36ae177c/jstests/noPassthrough/awaitable_ismaster.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;awaitable_ismaster.js&lt;/tt&gt;&lt;/a&gt;, which seems to validate the isMaster request. It was more of a sanity check than a full fledged addition. I didn&apos;t end up submitting this for review because I thought it&apos;d be more valuable to add a test that validates the types of all isMaster response fields, as you mentioned offline. &lt;/p&gt;

&lt;p&gt;I think ideally, we would have used the IDL for MongosIsMasterResponse, but I think that&apos;s currently out of scope (could definitely be an additional code cleanup ticket though!). &lt;/p&gt;

&lt;p&gt;We planned on adding unittests in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46956&quot; title=&quot;Add quiesce mode to the MongosTopologyCoordinator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46956&quot;&gt;&lt;del&gt;SERVER-46956&lt;/del&gt;&lt;/a&gt;, meant to be done after &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46955&quot; title=&quot;Create the MongosTopologyCoordinator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46955&quot;&gt;&lt;del&gt;SERVER-46955&lt;/del&gt;&lt;/a&gt;, which introduces behavioral changes. We relied on our existing tests for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46955&quot; title=&quot;Create the MongosTopologyCoordinator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46955&quot;&gt;&lt;del&gt;SERVER-46955&lt;/del&gt;&lt;/a&gt; since it was intended to be more of a refactor. Clearly, there was some oversight here on our part.&lt;/p&gt;</comment>
                            <comment id="3055008" author="matt.broadstone" created="Fri, 24 Apr 2020 20:51:51 +0000"  >&lt;p&gt;Hey y&apos;all, I see there weren&apos;t any tests added for this change. Seems like it would go a long way to prevent these types of issues in the future. &lt;/p&gt;</comment>
                            <comment id="3054983" author="xgen-internal-githook" created="Fri, 24 Apr 2020 20:38:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Pavi Vetriselvan&apos;, &apos;email&apos;: &apos;pvselvan@umich.edu&apos;, &apos;username&apos;: &apos;pvselvan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47750&quot; title=&quot;ismaster server response now returns a string instead of a boolean&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47750&quot;&gt;&lt;del&gt;SERVER-47750&lt;/del&gt;&lt;/a&gt; mongos isMaster response should return boolean&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cfbd4d0186cd69ba36ed6a9622198b1b36ae177c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cfbd4d0186cd69ba36ed6a9622198b1b36ae177c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1280612">SERVER-46955</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 24 Apr 2020 20:38:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 41 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1703</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 41 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>matt.broadstone@mongodb.com</customfieldvalue>
            <customfieldvalue>pavithra.vetriselvan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxhidz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hx4x0v:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3881">Repl 2020-05-04</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxh4nb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>