<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:50:41 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-82924] Time-series collections should indicate collection UUID mismatch errors in all cases when they happen.</title>
                <link>https://jira.mongodb.org/browse/SERVER-82924</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Background&quot;&gt;&lt;/a&gt;Background&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79446&quot; title=&quot;`insert` ignores `collectionUUID` for time-series collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79446&quot;&gt;&lt;del&gt;SERVER-79446&lt;/del&gt;&lt;/a&gt; initially reported a problem where the server prioritizes errors like OperationNotSupportedInTransaction over CollectionUUIDMismatch when failing a time-series-related request. It was considered non-blocking because mongosync can work around the quirk.&lt;/p&gt;

&lt;p&gt;We later repurposed that ticket to document a related, blocking problem where the server completely ignored collectionUUID when inserting into time-series collections.&lt;/p&gt;

&lt;p&gt;This ticket, then, &#8220;revives&#8221; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79446&quot; title=&quot;`insert` ignores `collectionUUID` for time-series collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79446&quot;&gt;&lt;del&gt;SERVER-79446&lt;/del&gt;&lt;/a&gt;&#8217;s original purpose: for mongosync it would be much better if the server returned CollectionUUIDMismatch when doing, e.g., a delete or update against a time-series collection, even when it&#8217;s in a transaction. This is because mongosync retries on CollectionUUIDMismatch with the correct collection name.&lt;/p&gt;

&lt;p&gt;Right now we mimic that pattern when we receive OperationNotSupportedInTransaction, but in order to do it we have to make a network call to fetch the updated namespace information that CollectionUUIDMismatch contains.&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;AcceptanceCriteria&quot;&gt;&lt;/a&gt;Acceptance Criteria&lt;/h2&gt;

&lt;p&gt;The server should always return &lt;em&gt;at least&lt;/em&gt; an error to indicate collection UUID mismatch whenever it&#8217;s appropriate to send one, even in the presence of other errors (e.g., OperationNotSupportedInTransaction).&lt;/p&gt;</description>
                <environment></environment>
        <key id="2493611">SERVER-82924</key>
            <summary>Time-series collections should indicate collection UUID mismatch errors in all cases when they happen.</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="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="haley.connelly@mongodb.com">Haley Connelly</assignee>
                                    <reporter username="felipe.gasper@mongodb.com">Felipe Gasper</reporter>
                        <labels>
                            <label>storex-ranked</label>
                            <label>time-series</label>
                            <label>time-series-mongosync</label>
                    </labels>
                <created>Wed, 8 Nov 2023 01:55:57 +0000</created>
                <updated>Tue, 6 Feb 2024 15:29:25 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5879419" author="JIRAUSER1272372" created="Tue, 14 Nov 2023 17:15:13 +0000"  >&lt;p&gt;I&#8217;m also realizing that the above may not match what I noted previously in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81379&quot; title=&quot;`delete` and `update` mishandle `collectionUUID`&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81379&quot;&gt;&lt;del&gt;SERVER-81379&lt;/del&gt;&lt;/a&gt;. I&#8217;m sorry for any confusion this may cause.&lt;/p&gt;</comment>
                            <comment id="5879399" author="JIRAUSER1272372" created="Tue, 14 Nov 2023 17:10:15 +0000"  >&lt;p&gt;Given:&lt;/p&gt;

&lt;p&gt;Time-series collection &#8220;weather&#8221;, with buckets UUID $uuidBucketsWeather.&lt;br/&gt;
Non-time-series collection &#8220;sports&#8221; with UUID $uuidSports.&lt;/p&gt;

&lt;p&gt;I would &lt;em&gt;think&lt;/em&gt; it logical to flag mismatches between buckets &amp;amp; non-buckets collections more &#8220;loudly&#8221; than CollectionUUIDMismatch. See notes below:&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Operationon%E2%80%9Cweather%E2%80%9Dwith%24uuidSports&quot;&gt;&lt;/a&gt;Operation on &#8220;weather&#8221; with $uuidSports&lt;/h3&gt;

&lt;p&gt;Should return CollectionUUIDMismatch, with current collection name = &#8220;sports&#8221;. &lt;b&gt;This is the most important one for mongosync.&lt;/b&gt;&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Operationon%E2%80%9Csystem.buckets.weather%E2%80%9Dwith%24uuidSports&quot;&gt;&lt;/a&gt;Operation on &#8220;system.buckets.weather&#8221; with $uuidSports&lt;/h3&gt;

&lt;p&gt;This seems like it should be a &#8220;louder&#8221; error than CollectionUUIDMismatch.&lt;/p&gt;

&lt;p&gt;Rationale: normally CollectionUUIDMismatch indicates stale client state: a rename has occurred that the client doesn&#8217;t know about. Mongosync handles this error accordingly: retry the command using the collection name that the error gives. (Or, if there&#8217;s no collection name, we understand that to be the server telling us that the collection is dropped, so we discard the event that triggered the request.)&lt;/p&gt;

&lt;p&gt;In this case, though, that behavior is inappropriate; just the fact of trying to operate on a buckets collection using a non-buckets UUID&#8212;or, trying to operate on a non-timeseries collection using a buckets collection name&#8212;indicates something more deeply wrong than just stale client state.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Operationon%E2%80%9Csports%E2%80%9D%C2%A0with%24uuidBucketsWeather&quot;&gt;&lt;/a&gt;Operation on &#8220;sports&#8221;&#160;with $uuidBucketsWeather&lt;/h3&gt;

&lt;p&gt;This, too, seems to warrant a &#8220;louder&#8221; error that indicates non-retryability.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Operationon%E2%80%9Cweather%E2%80%9Dwith%24uuidBucketsWeather&quot;&gt;&lt;/a&gt;Operation on &#8220;weather&#8221; with $uuidBucketsWeather&lt;/h3&gt;

&lt;p&gt;Even this would seem to need the &#8220;louder&#8221; error: there seems to be no good reason why a client would submit it since CRUD operations against the view will never resemble those against the buckets.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2524125">SERVER-84151</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2551691">SERVER-85496</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2403424">SERVER-79446</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2449373">SERVER-81379</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>2.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 29 Jan 2024 20:59:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 weeks, 1 day 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>steven.vannelli@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 weeks, 1 day 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>felipe.gasper@mongodb.com</customfieldvalue>
            <customfieldvalue>haley.connelly@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2zctj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr19oo:zv3qo</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="7997">Execution Team 2024-02-19</customfieldvalue>

                        </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|i2yyyv:</customfieldvalue>

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