<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:37:30 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-34685] Mongos exits when non-existent resume token is supplied</title>
                <link>https://jira.mongodb.org/browse/SERVER-34685</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="534452">SERVER-34685</key>
            <summary>Mongos exits when non-existent resume token is supplied</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="charlie.swanson@mongodb.com">Charlie Swanson</assignee>
                                    <reporter username="aviziv">avi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Apr 2018 08:30:59 +0000</created>
                <updated>Fri, 27 Apr 2018 11:41:52 +0000</updated>
                            <resolved>Fri, 27 Apr 2018 11:41:03 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1875945" author="charlie.swanson" created="Fri, 27 Apr 2018 11:41:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aviziv&quot; class=&quot;user-hover&quot; rel=&quot;aviziv&quot;&gt;aviziv&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;After some investigation we were able to reproduce the issue with your example BinData. We believe this issue is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34399&quot; title=&quot;$changeStream with invalid resume token crashes the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34399&quot;&gt;&lt;del&gt;SERVER-34399&lt;/del&gt;&lt;/a&gt; which was just resolved in our master branch and will make it into the 4.0 release. At this time we also plan to backport the fix to the 3.6 branch. Please watch &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34399&quot; title=&quot;$changeStream with invalid resume token crashes the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34399&quot;&gt;&lt;del&gt;SERVER-34399&lt;/del&gt;&lt;/a&gt; for updates.&lt;/p&gt;

&lt;p&gt;If you are still able to reproduce the failure when running with version 4.0.0-rc0 (not yet released, stay tuned), please re-open this issue and we will investigate further.&lt;/p&gt;</comment>
                            <comment id="1875491" author="charlie.swanson" created="Thu, 26 Apr 2018 19:55:41 +0000"  >&lt;p&gt;Can you post the backtrace from the logs for the node that crashed? &lt;/p&gt;</comment>
                            <comment id="1874700" author="aviziv" created="Thu, 26 Apr 2018 08:42:20 +0000"  >&lt;p&gt;Sorry, probably hit enter too early.&lt;/p&gt;

&lt;p&gt;So, when a correct &quot;resume after&quot; token is supplied to collection watch through Mongos all is well and we receive change events. When a non-existent resume token (well formatted) is supplied then Mongos crashes.&lt;br/&gt;
Note that we&apos;re running both Mongo cluster and Mongos in Docker.&lt;/p&gt;

&lt;p&gt;Example of what we observe with a &lt;ins&gt;non-existent&lt;/ins&gt; token:&lt;/p&gt;

&lt;p&gt;{{&amp;gt; db.ourCollection.watch( [],    { resumeAfter : &lt;/p&gt;
{ &quot;_data&quot; : new BinData(0, &quot;aaagf94AAADCRmRfaWQAZFrgY9/zjbt2ewaaiABaEASOM5i0AiZI2YBeXu99TFx2BA==&quot;) }
&lt;p&gt; } );&lt;br/&gt;
2018-04-26T11:25:20.230+0300 E QUERY    &lt;span class=&quot;error&quot;&gt;&amp;#91;thread1&amp;#93;&lt;/span&gt; Error: error doing query: failed: network error while attempting to run command &apos;aggregate&apos; on host &apos;localhost:27004&apos;  :&lt;br/&gt;
DB.prototype.runCommand@src/mongo/shell/db.js:168:1&lt;br/&gt;
DB.prototype.runReadCommand@src/mongo/shell/db.js:139:16&lt;br/&gt;
DB.prototype._runAggregate/doAgg&amp;lt;@src/mongo/shell/db.js:239:60&lt;br/&gt;
DB.prototype._runAggregate@src/mongo/shell/db.js:242:21&lt;br/&gt;
DBCollection.prototype.aggregate@src/mongo/shell/collection.js:1212:12&lt;br/&gt;
DBCollection.prototype.watch@src/mongo/shell/collection.js:1660:12&lt;br/&gt;
@(shell):1:22}}&lt;/p&gt;


&lt;p&gt;The bug occurs in latest version (3.6.4, 3.6, 3) and unstable (3.7.5, 3.7) latest version&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="524374">SERVER-34399</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>3.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 26 Apr 2018 19:55:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 41 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>charlie.swanson@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 41 weeks, 5 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>aviziv</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htwhu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htnkjj:</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="2265">Query 2018-05-07</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|htw42f:</customfieldvalue>

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