<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:07:22 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-24766] implement basic view functionality</title>
                <link>https://jira.mongodb.org/browse/SERVER-24766</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Find/aggregate/distinct/count on views work on standalone mongod.&lt;br/&gt;
View definitions are persisted. For now, enable through server parameter, off by default.&lt;/p&gt;</description>
                <environment></environment>
        <key id="296338">SERVER-24766</key>
            <summary>implement basic view functionality</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="kyle.suarez@mongodb.com">Kyle Suarez</assignee>
                                    <reporter username="geert.bosch@mongodb.com">Geert Bosch</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Jun 2016 23:08:27 +0000</created>
                <updated>Wed, 3 May 2017 20:12:56 +0000</updated>
                            <resolved>Fri, 22 Jul 2016 21:56:47 +0000</resolved>
                                                    <fixVersion>3.3.11</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1334287" author="asya" created="Mon, 25 Jul 2016 15:26:43 +0000"  >&lt;blockquote&gt;&lt;p&gt;As it currently stands, drivers cannot perform a find_one() on a view&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This includes mongo shell.&lt;/p&gt;</comment>
                            <comment id="1333220" author="kyle.suarez" created="Fri, 22 Jul 2016 21:56:47 +0000"  >&lt;p&gt;The aggregate, find, count and distinct commands all work with views, so I&apos;m going to mark this ticket as resolved.&lt;/p&gt;

&lt;p&gt;As it currently stands, drivers cannot perform a &lt;tt&gt;find_one()&lt;/tt&gt; on a view because the aggregate command does not support the &lt;tt&gt;singleBatch&lt;/tt&gt; option. However, we&apos;ll address this in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25235&quot; title=&quot;Views should drop &amp;#39;singleBatch&amp;#39; if &amp;#39;limit&amp;#39; is 1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25235&quot;&gt;&lt;del&gt;SERVER-25235&lt;/del&gt;&lt;/a&gt;; I&apos;m going to mark &quot;Driver Changes&quot; as &quot;Not Needed&quot;.&lt;/p&gt;</comment>
                            <comment id="1332431" author="xgen-internal-githook" created="Fri, 22 Jul 2016 14:27:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; don&apos;t force a move in ViewResponseFormatter constructor&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 3b3c14bb60b365cde5caf68a2982fd9f6481cede.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b377f0ad4daa65bd0d695615f3f552870e87f191&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b377f0ad4daa65bd0d695615f3f552870e87f191&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1332410" author="xgen-internal-githook" created="Fri, 22 Jul 2016 14:04:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; don&apos;t force a move in ViewResponseFormatter constructor&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3b3c14bb60b365cde5caf68a2982fd9f6481cede&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3b3c14bb60b365cde5caf68a2982fd9f6481cede&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1331630" author="xgen-internal-githook" created="Thu, 21 Jul 2016 18:58:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; views support for count and distinct&lt;/p&gt;

&lt;p&gt;Adds a new class, ViewResponseFormatter, for transforming aggregation responses&lt;br/&gt;
into responses for other commands with a dissimilar format (i.e. count and&lt;br/&gt;
distinct).&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6dfeb2606b11765f25c08478919f42cf01c68076&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6dfeb2606b11765f25c08478919f42cf01c68076&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1328448" author="xgen-internal-githook" created="Tue, 19 Jul 2016 15:21:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; find command support for views&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cef83c2fddc2d8cfffa76d3e8680fc6c069e75f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cef83c2fddc2d8cfffa76d3e8680fc6c069e75f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1324537" author="xgen-internal-githook" created="Thu, 14 Jul 2016 20:04:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; aggregation support for views&lt;/p&gt;

&lt;p&gt;Users can now run the aggregate command on a view, which will resolve the view&lt;br/&gt;
to the appropriate collection and run a modified aggregation.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cd91000e5fad86b74afcc550fbd147bac14700f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cd91000e5fad86b74afcc550fbd147bac14700f0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1323484" author="xgen-internal-githook" created="Thu, 14 Jul 2016 00:03:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;GeertBosch&apos;, u&apos;name&apos;: u&apos;Geert Bosch&apos;, u&apos;email&apos;: u&apos;geert@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt;: Add shell helper for createView&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5f9cc132e0f6334895c083734a5d8124c8e8c631&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5f9cc132e0f6334895c083734a5d8124c8e8c631&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1322982" author="xgen-internal-githook" created="Wed, 13 Jul 2016 17:48:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;GeertBosch&apos;, u&apos;name&apos;: u&apos;Geert Bosch&apos;, u&apos;email&apos;: u&apos;geert@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; Rename error code 15999 to InvalidPipelineOperator&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b62dcab903faa4c02dc1404fac87a982c52a7725&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b62dcab903faa4c02dc1404fac87a982c52a7725&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1320148" author="kyle.suarez" created="Mon, 11 Jul 2016 15:58:47 +0000"  >&lt;p&gt;We need to review &lt;tt&gt;slowMs&lt;/tt&gt; logging, profiling, and &lt;tt&gt;db.currentOp()&lt;/tt&gt; output for when a query against a view is in progress. This will help with the general debugging of views; simply logging things at higher log levels is infeasible in production environments.&lt;/p&gt;</comment>
                            <comment id="1316763" author="xgen-internal-githook" created="Thu, 7 Jul 2016 14:37:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24766&quot; title=&quot;implement basic view functionality&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24766&quot;&gt;&lt;del&gt;SERVER-24766&lt;/del&gt;&lt;/a&gt; implement basic views library&lt;/p&gt;

&lt;p&gt;Adds the basic infrastructure for read-only non-materialized views, as well as&lt;br/&gt;
the ability to create them (but not use them).&lt;/p&gt;

&lt;p&gt;Views are disabled by default unless mongod is given the setParameter&lt;br/&gt;
enableViews=1.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e39c46b27f4ae58f96b685dd625b0165761fee0d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e39c46b27f4ae58f96b685dd625b0165761fee0d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="310275">DOCS-8628</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="335978">DOCS-9437</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="303440">SERVER-25235</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>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 27 Jun 2016 17:38:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 29 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-290</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>emily.hall</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 29 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>geert.bosch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kyle.suarez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk4c7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrcqzj:</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="1139">Integration 17 (07/15/16)</customfieldvalue>
    <customfieldvalue id="1182">Integration 18 (08/05/16)</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|hrjclj:</customfieldvalue>

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