<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:48:45 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-60020] Remove special handling for cases when only time-series view exists</title>
                <link>https://jira.mongodb.org/browse/SERVER-60020</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;At the moment of writing, there can be a situation when time-series view exists, but time-series buckets collection does not. This can happen when the user directly drops time-series buckets collection, for example.&lt;/p&gt;

&lt;p&gt;For such situations, we have special handling in multiple places. See &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8d97a7a71bde56723e295286a3b9425f220ebc11/src/mongo/db/commands/list_collections.cpp#L466-L474&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;listCollections command&lt;/a&gt; as an example.&lt;/p&gt;

&lt;p&gt;After &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59126&quot; title=&quot;drop collection on time-series collection should drop the underlying buckets collection on config server &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59126&quot;&gt;&lt;del&gt;SERVER-59126&lt;/del&gt;&lt;/a&gt; is merged, the time-series view will be always deleted when the time-series buckets collection is deleted. This renders the situation when only time-series view exists impossible. In turn, this means that the special handling is no longer necessary for this case. We should remove it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1876165">SERVER-60020</key>
            <summary>Remove special handling for cases when only time-series view exists</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-integration">Backlog - Query Integration</assignee>
                                    <reporter username="nikita.lapkov@mongodb.com">Nikita Lapkov</reporter>
                        <labels>
                            <label>neweng</label>
                            <label>qi-timeseries</label>
                            <label>read-only-views</label>
                            <label>tscs-ramp</label>
                    </labels>
                <created>Thu, 16 Sep 2021 15:36:12 +0000</created>
                <updated>Wed, 27 Dec 2023 16:10:27 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4654245" author="gregory.noma" created="Sat, 2 Jul 2022 01:12:59 +0000"  >&lt;p&gt;I don&apos;t think we can block FCV upgrade like that. For instance imagine a serverless environment; it wouldn&apos;t be acceptable to block FCV upgrade because of one tenant on that cluster.&lt;/p&gt;

&lt;p&gt;An alternative could be to create a sort of &quot;default&quot; buckets collection during FCV upgrade in that scenario, but that idea has some issues as well. One issue would be what to use for &lt;tt&gt;timeField&lt;/tt&gt; which is required to be specified by the user upon time-series collection creation. Worse yet, what if there&apos;s a collection that &quot;looks like&quot; a corresponding buckets collection based on its name, but doesn&apos;t actually have the correct options to be a buckets collection?&lt;/p&gt;</comment>
                            <comment id="4653704" author="mickey.winters" created="Fri, 1 Jul 2022 19:15:09 +0000"  >&lt;p&gt;yeah I agree with the fcv check, we need to do this at some point so we aren&apos;t permanently stuck worrying about the scenario greg pointed out&lt;/p&gt;</comment>
                            <comment id="4653506" author="JIRAUSER1258420" created="Fri, 1 Jul 2022 18:09:05 +0000"  >&lt;p&gt;I think we should do this as part of FCV upgrade behavior. When a user attempts to upgrade their FCV, we check for a timeseries view without an underlying buckets collection (and probably the inverse, a buckets collection without a timeseries view) and block FCV upgrade until they delete the offending collection/view(s). This would also solve a similar issue &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67676&quot; title=&quot;Disallow manually creating a system.buckets.x collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67676&quot;&gt;&lt;del&gt;SERVER-67676&lt;/del&gt;&lt;/a&gt; will create; even once we ban creating a buckets collection without a timeseries view, the user could always have gotten into that state before the ticket. cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mickey.winters%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mickey.winters@mongodb.com&quot;&gt;mickey.winters@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=gregory.noma%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;gregory.noma@mongodb.com&quot;&gt;gregory.noma@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nikita.lapkov%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;nikita.lapkov@mongodb.com&quot;&gt;nikita.lapkov@mongodb.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note that since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59126&quot; title=&quot;drop collection on time-series collection should drop the underlying buckets collection on config server &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59126&quot;&gt;&lt;del&gt;SERVER-59126&lt;/del&gt;&lt;/a&gt; ensures that dropping either a buckets collection or a time series view will drop the other, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67676&quot; title=&quot;Disallow manually creating a system.buckets.x collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67676&quot;&gt;&lt;del&gt;SERVER-67676&lt;/del&gt;&lt;/a&gt; bans creating a buckets collection on its own, and creating a timeseries collection already creates an underlying buckets collection, we will create a situation where one can never exist without the other unless that state was achieved before upgrade. If we enforce this on upgrade we can always work under this assumption going forward.&lt;/p&gt;</comment>
                            <comment id="4645892" author="gregory.noma" created="Tue, 28 Jun 2022 19:16:59 +0000"  >&lt;p&gt;In terms of what this ticket is currently proposing, I&apos;m actually not sure if there&apos;s much we can do here since a user could have always gotten into this state before we did &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59126&quot; title=&quot;drop collection on time-series collection should drop the underlying buckets collection on config server &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59126&quot;&gt;&lt;del&gt;SERVER-59126&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="4645396" author="mickey.winters" created="Tue, 28 Jun 2022 16:48:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=gregory.noma%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;gregory.noma@mongodb.com&quot;&gt;gregory.noma@mongodb.com&lt;/a&gt; potentially should we be checking that as part of some startup task to check integrity?&lt;/p&gt;</comment>
                            <comment id="4115744" author="gregory.noma" created="Mon, 11 Oct 2021 14:26:55 +0000"  >&lt;p&gt;One thing we may need to take into consideration here is the case where someone dropped only the buckets collection before we made doing so also drop the view.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1842148">SERVER-59126</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Oct 2021 14:26:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 31 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-59126'>SERVER-59126</a></s>]]></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>ted.tuckman@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 31 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>gregory.noma@mongodb.com</customfieldvalue>
            <customfieldvalue>jennifer.peshansky@mongodb.com</customfieldvalue>
            <customfieldvalue>mickey.winters@mongodb.com</customfieldvalue>
            <customfieldvalue>nikita.lapkov@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i01xhj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2dyv:</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_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|i01jmv:</customfieldvalue>

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