<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:56:25 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-40958] Deprecate the &apos;scandata&apos; argument in &apos;validate&apos;</title>
                <link>https://jira.mongodb.org/browse/SERVER-40958</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Today, setting &lt;tt&gt;scandata&lt;/tt&gt; to &lt;tt&gt;true&lt;/tt&gt;, sets the &lt;tt&gt;ValidateCmdLevel&lt;/tt&gt; to &lt;tt&gt;kValidateRecordStore&lt;/tt&gt;, which is not checked against anywhere, and therefore unused. We should log a message saying that this argument is deprecated and remove it in a future release.&lt;/p&gt;

&lt;p&gt;Additionally, we can convert the &apos;validate&apos; command to use IDL. &lt;/p&gt;</description>
                <environment></environment>
        <key id="754979">SERVER-40958</key>
            <summary>Deprecate the &apos;scandata&apos; argument in &apos;validate&apos;</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="gregory.noma@mongodb.com">Gregory Noma</assignee>
                                    <reporter username="gregory.wlodarek@mongodb.com">Gregory Wlodarek</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Thu, 2 May 2019 14:25:23 +0000</created>
                <updated>Sun, 29 Oct 2023 22:21:26 +0000</updated>
                            <resolved>Thu, 30 May 2019 16:23:58 +0000</resolved>
                                                    <fixVersion>4.1.14</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2267544" author="gregory.noma" created="Fri, 31 May 2019 20:39:31 +0000"  >&lt;p&gt;I think it makes sense to simply remove it from the 3.6 -&amp;gt; 4.2 documentation, given that it does nothing in these releases.&lt;/p&gt;</comment>
                            <comment id="2267537" author="ravind.kumar" created="Fri, 31 May 2019 20:34:14 +0000"  >&lt;p&gt;Ah, I likely misinterpreted the if/elseif. &lt;/p&gt;

&lt;p&gt;In that case, in the short term  are there objections to simply removing &lt;tt&gt;scandata&lt;/tt&gt; from 3.6 -&amp;gt; 4.2 documentation, or simply marking it as deprecated w/ no function description? If it wasn&apos;t doing anything before, and we&apos;ve deprecated it moving forward, it seems unlikely to be a breaking change for users utilizing this (again considering this is an internal-facing utility). &lt;/p&gt;</comment>
                            <comment id="2267488" author="gregory.noma" created="Fri, 31 May 2019 20:05:18 +0000"  >&lt;p&gt;I don&apos;t think that &lt;tt&gt;scandata&lt;/tt&gt; stomps &lt;tt&gt;full&lt;/tt&gt;. If &lt;tt&gt;full&lt;/tt&gt; is set to &lt;tt&gt;true&lt;/tt&gt; then the value of &lt;tt&gt;scandata&lt;/tt&gt; is completely ignored.&#160;If &lt;tt&gt;full&lt;/tt&gt; is set to &lt;tt&gt;false&lt;/tt&gt; then the value of &lt;tt&gt;scandata&lt;/tt&gt; is read but never used. Thus I believe that it behaves as expected based on the value of &lt;tt&gt;full&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="2267462" author="ravind.kumar" created="Fri, 31 May 2019 19:54:13 +0000"  >&lt;p&gt;I think so, especially if the option doesn&apos;t really do anything. I would argue it might be a bug,  since a user could set &lt;tt&gt;full : true&lt;/tt&gt; and then &lt;tt&gt;scandata:false&lt;/tt&gt; and end up doing something unexpected (assuming my reading of the code is correct and setting &lt;tt&gt;scandata&lt;/tt&gt; stomps the value of &lt;tt&gt;full&lt;/tt&gt;. If that&apos;s a trivial fixup, at least. &lt;/p&gt;

&lt;p&gt;If it&apos;s non-trivial, I&apos;d like to at least remove the option so users don&apos;t risk specifying it and getting unexpected results. This is an internal-only command, I don&apos;t know how often folks are actually using it, but to be safe its an easy fix.&lt;/p&gt;</comment>
                            <comment id="2267156" author="gregory.noma" created="Fri, 31 May 2019 17:54:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ravind.kumar&quot; class=&quot;user-hover&quot; rel=&quot;ravind.kumar&quot;&gt;ravind.kumar&lt;/a&gt; &lt;tt&gt;ValidateRecordStore&lt;/tt&gt;&#160;appears to not be checked anywhere since 3.6, thus causing &lt;tt&gt;scandata&lt;/tt&gt;&#160;to have no effect. Do you think it would make sense to backport this to 3.6?&lt;/p&gt;</comment>
                            <comment id="2266908" author="ravind.kumar" created="Fri, 31 May 2019 15:53:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=gregory.noma&quot; class=&quot;user-hover&quot; rel=&quot;gregory.noma&quot;&gt;gregory.noma&lt;/a&gt; question:&lt;/p&gt;

&lt;p&gt;Looking at the code &lt;a href=&quot;https://github.com/mongodb/mongo/commit/119101f32b246b883ea255ab6b7bd2cae50599de#diff-b3a9cb46949f861f636c4afecd3323d8L110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;prior to 4.2&lt;/a&gt;, it looks like specifying validate with &lt;tt&gt;scandata&lt;/tt&gt; would stomp &lt;tt&gt;full&lt;/tt&gt;.&#160; I&apos;m having trouble tracking down exactly where&#160;&lt;tt&gt;kValidateRecordStore&lt;/tt&gt; is used and what it implies, but if my rough reading of the code is correct, it looks like I&apos;ll need to patch the behavior in 4.0 and possibly earlier.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2265470" author="xgen-internal-githook" created="Thu, 30 May 2019 16:19:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;gregory.noma@gmail.com&apos;, &apos;name&apos;: &apos;Gregory Noma&apos;, &apos;username&apos;: &apos;gregorynoma&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40958&quot; title=&quot;Deprecate the &amp;#39;scandata&amp;#39; argument in &amp;#39;validate&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40958&quot;&gt;&lt;del&gt;SERVER-40958&lt;/del&gt;&lt;/a&gt; Deprecate the &apos;scandata&apos; argument in &apos;validate&apos;, update corresponding ValidateCmdLevel enum&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/119101f32b246b883ea255ab6b7bd2cae50599de&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/119101f32b246b883ea255ab6b7bd2cae50599de&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="784969">DOCS-12767</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="754966">SERVER-40957</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></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>Wed, 29 May 2019 19:30:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 36 weeks, 5 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_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>
                            4 years, 36 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>gregory.noma@mongodb.com</customfieldvalue>
            <customfieldvalue>gregory.wlodarek@mongodb.com</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huxbcn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr77zj:</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="2983">Execution Team 2019-06-03</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|huwxlz:</customfieldvalue>

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