<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:58:09 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-41590] Covered query &#1076;&#1077;&#1083;&#1072;&#1077;&#1090; FETCH</title>
                <link>https://jira.mongodb.org/browse/SERVER-41590</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&#1042; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;&#1072;&#1093; &#1082;&#1086;&#1083;&#1083;&#1077;&#1082;&#1094;&#1080;&#1080; &#1077;&#1089;&#1090;&#1100; &#1087;&#1086;&#1083;&#1077; &lt;b&gt;contracts&lt;/b&gt;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1077; &#1093;&#1088;&#1072;&#1085;&#1080;&#1090; &lt;b&gt;&#1084;&#1072;&#1089;&#1089;&#1080;&#1074;&lt;/b&gt; &lt;b&gt;&#1086;&#1073;&#1098;&#1077;&#1082;&#1090;&#1086;&#1074;,&lt;/b&gt;&#160;&#1074; &#1086;&#1073;&#1098;&#1077;&#1082;&#1090;&#1077; &#1077;&#1089;&#1090;&#1100; &#1089;&#1090;&#1088;&#1086;&#1082;&#1086;&#1074;&#1086;&#1077; &#1087;&#1086;&#1083;&#1077; signedDate &#1089; &#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1103;&#1084;&#1080; &#1090;&#1072;&#1082;&#1086;&#1075;&#1086; &#1074;&#1080;&#1076;&#1072; &quot;2016-09-23T18:02:00+02:02&quot;. &#1069;&#1090;&#1086; &#1087;&#1086;&#1083;&#1077; &#1087;&#1088;&#1086;&#1080;&#1085;&#1076;&#1077;&#1082;&#1089;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1086;. &#1047;&#1072;&#1087;&#1088;&#1086;&#1089;&#1099; &#1089; &lt;b&gt;count&lt;/b&gt; &#1080; $lt (&#1072;&#1085;&#1072;&#1083;&#1086;&#1075;&#1080;&#1095;&#1085;&#1086; $gt) &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1102;&#1090; &#1080;&#1085;&#1076;&#1077;&#1082;&#1089;, stage &lt;b&gt;COUNT_SCAN&lt;/b&gt;. &#1053;&#1086; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1089; &#1086;&#1076;&#1085;&#1086;&#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1085;&#1085;&#1086; $gt &#1080; $lt &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1090; &#1080;&#1085;&#1076;&#1077;&#1082;&#1089; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1089; &#1086;&#1076;&#1085;&#1086;&#1081; &#1089;&#1090;&#1086;&#1088;&#1086;&#1085;&#1099;, &#1072; &#1076;&#1088;&#1091;&#1075;&#1091;&#1102; &#1092;&#1080;&#1083;&#1100;&#1090;&#1088;&#1091;&#1077;&#1090; &#1085;&#1072; &lt;b&gt;FETCH&lt;/b&gt; &#1089;&#1090;&#1072;&#1076;&#1080;&#1080;, &#1080;&#1079;-&#1079;&#1072; &#1095;&#1077;&#1075;&#1086; &#1086;&#1095;&#1077;&#1085;&#1100; &#1089;&#1090;&#1088;&#1072;&#1076;&#1072;&#1077;&#1090; &#1089;&#1082;&#1086;&#1088;&#1086;&#1089;&#1090;&#1100; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072; (&#1085;&#1077;&#1087;&#1088;&#1080;&#1077;&#1084;&#1083;&#1080;&#1084;&#1086; &#1076;&#1086;&#1083;&#1075;&#1086;). &lt;/p&gt;

&lt;p&gt;&#1055;&#1086;&#1095;&#1077;&#1084;&#1091; &#1080;&#1085;&#1076;&#1077;&#1082;&#1089; &#1085;&#1077; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1090; &#1086;&#1076;&#1085;&#1086;&#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1085;&#1086; &#1076;&#1074;&#1077; &#1075;&#1088;&#1072;&#1085;&#1080;&#1094;&#1099;?&lt;/p&gt;

&lt;p&gt;&#1041;&#1099;&#1083;&#1072; &#1074;&#1077;&#1088;&#1089;&#1080;&#1103;, &#1095;&#1090;&#1086; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072; &#1074; &#1089;&#1090;&#1088;&#1086;&#1082;&#1077;, &#1077;&#1105; &#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1077; &#1087;&#1077;&#1088;&#1077;&#1085;&#1077;&#1089; &#1074; &#1085;&#1086;&#1074;&#1086;&#1077; &#1087;&#1086;&#1083;&#1077; &#1090;&#1086;&#1075;&#1086; &#1078;&#1077; &#1084;&#1072;&#1089;&#1089;&#1080;&#1074;&#1072;, &#1074; &#1092;&#1086;&#1088;&#1084;&#1072;&#1090;&#1077; ISODate, &#1089;&#1086;&#1079;&#1076;&#1072;&#1083; &#1080;&#1085;&#1076;&#1077;&#1082;&#1089; - &#1085;&#1086; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090; &#1074;&#1089;&#1077; &#1090;&#1086;&#1095;&#1085;&#1086; &#1090;&#1072;&#1082; &#1078;&#1077;. &#1054;&#1090;&#1076;&#1077;&#1083;&#1100;&#1085;&#1086; &#1086;&#1090;&#1084;&#1077;&#1095;&#1091;, &#1095;&#1090;&#1086; &#1085;&#1077; &#1074;&#1086; &#1074;&#1089;&#1077;&#1093; &#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;&#1072;&#1093; &#1077;&#1089;&#1090;&#1100; &#1084;&#1072;&#1089;&#1089;&#1080;&#1074; contracts, &#1093;&#1086;&#1090;&#1103; &#1074; &#1073;&#1086;&#1083;&#1100;&#1096;&#1086;&#1081; &#1095;&#1072;&#1089;&#1090;&#1080;.&lt;/p&gt;</description>
                <environment>ubuntu 16.04</environment>
        <key id="794275">SERVER-41590</key>
            <summary>Covered query &#1076;&#1077;&#1083;&#1072;&#1077;&#1090; FETCH</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="devbocharov">Bocharov Vladislav</reporter>
                        <labels>
                            <label>bug</label>
                    </labels>
                <created>Sat, 8 Jun 2019 12:27:25 +0000</created>
                <updated>Mon, 10 Jun 2019 12:08:55 +0000</updated>
                            <resolved>Mon, 10 Jun 2019 12:08:55 +0000</resolved>
                                    <version>4.0.9</version>
                    <version>4.0.10</version>
                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2277336" author="devbocharov" created="Mon, 10 Jun 2019 10:22:35 +0000"  >&lt;p&gt;I translate it to Eng&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41594&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-41594&lt;/a&gt;&lt;br/&gt;
So this version can be deleted or marked as duplicate.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="794666">SERVER-41594</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="219911" name="signedTest.json" size="8135226" author="devbocharov" created="Sat, 8 Jun 2019 12:26:23 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 35 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_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>daniel.hatcher@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 35 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>devbocharov</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hv3str:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huszrz:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ol&gt;
	&lt;li&gt;&#1047;&#1072;&#1075;&#1088;&#1091;&#1079;&#1080;&#1090;&#1100; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1085;&#1099;&#1081; &#1076;&#1072;&#1084;&#1087; &#1089; &#1082;&#1086;&#1083;&#1083;&#1077;&#1082;&#1094;&#1080;&#1077;&#1081; signedTest, &#1090;&#1072;&#1084; 1000 &#1079;&#1072;&#1087;&#1080;&#1089;&#1077;&#1081;.&lt;/li&gt;
	&lt;li&gt;&#1057;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1080;&#1085;&#1076;&#1077;&#1082;&#1089;:&lt;br/&gt;
&lt;em&gt;db.signedTest.createIndex({&apos;data.contracts.dateSigned&apos;: 1})&lt;/em&gt;&lt;/li&gt;
	&lt;li&gt;&lt;em&gt;&#1057;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1089; $lt &#1080; &#1091;&#1073;&#1077;&#1076;&#1080;&#1090;&#1089;&#1103;, &#1095;&#1090;&#1086; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090;&#160;&lt;b&gt;COUNT_SCAN:&lt;/b&gt;&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;db.signedTest.explain(&apos;executionStats&apos;).count({&quot;data.contracts.dateSigned&quot;:{$lt:&quot;2011-06-05&quot;}})&lt;/em&gt;&lt;/li&gt;
	&lt;li&gt;&#1047;&#1072;&#1087;&#1091;&#1089;&#1090;&#1080;&#1090;&#1100; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1089; $lt, $gt &#1080; &#1091;&#1074;&#1080;&#1076;&#1077;&#1090;&#1100;, &#1095;&#1090;&#1086; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1090;&#1089;&#1103; &#1080;&#1085;&#1076;&#1077;&#1082;&#1089; &#1076;&#1083;&#1103; &#1092;&#1080;&#1083;&#1100;&#1090;&#1088;&#1072;&#1094;&#1080;&#1080; &#1089; &#1086;&#1076;&#1085;&#1086;&#1081; &#1089;&#1090;&#1086;&#1088;&#1086;&#1085;&#1099; &#1080; FETCH &#1076;&#1083;&#1103; &#1092;&#1080;&#1083;&#1100;&#1090;&#1088;&#1072;&#1094;&#1080;&#1080; &#1089; &#1076;&#1088;&#1091;&#1075;&#1086;&#1081;: &lt;em&gt;db.signedTest.explain(&apos;executionStats&apos;).count({&quot;data.contracts.dateSigned&quot;:{$gt:&quot;2009-05-01&quot;,$lt:&quot;2011-06-05&quot;}})&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
</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|hv3f33:</customfieldvalue>

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