<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:29: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-32088] ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection </title>
                <link>https://jira.mongodb.org/browse/SERVER-32088</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Taken from a comment on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32029&quot; title=&quot;ChangeStream resumeAfter does not work on unsharded collections if there is more than one shard in the system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32029&quot;&gt;&lt;del&gt;SERVER-32029&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If a collection is sharded but not present on all shards, then some shards will not know about the collection, and will also mistakenly error upon resuming because of this. This bug is actually harder to fix, because it&apos;s hard to know whether the collection doesn&apos;t exist because it was dropped, or whether it doesn&apos;t exist because you don&apos;t own any chunks for it.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="464244">SERVER-32088</key>
            <summary>ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection </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="13201">Fixed</resolution>
                                        <assignee username="nicholas.zolnierz@mongodb.com">Nicholas Zolnierz</assignee>
                                    <reporter username="spencer@mongodb.com">Spencer Brody</reporter>
                        <labels>
                            <label>todo_in_code</label>
                    </labels>
                <created>Mon, 27 Nov 2017 16:20:48 +0000</created>
                <updated>Mon, 30 Oct 2023 23:10:19 +0000</updated>
                            <resolved>Tue, 29 May 2018 15:52:03 +0000</resolved>
                                                    <fixVersion>4.0.1</fixVersion>
                    <fixVersion>4.1.1</fixVersion>
                                    <component>Aggregation Framework</component>
                    <component>Replication</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="2019931" author="asya" created="Mon, 1 Oct 2018 22:29:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sjohnson540&quot; class=&quot;user-hover&quot; rel=&quot;sjohnson540&quot;&gt;sjohnson540&lt;/a&gt; we discussed that backport is high-risk.  I&apos;m currently researching the value of the backport to 3.6 to assess it against the risk.   Can you give us an idea of the impact of having to wait till 4.0 for the fix for you?&lt;/p&gt;

&lt;p&gt;Feel free to e-mail me at asya at mongodb.com if you want to discuss things you&apos;d rather not mention publicly. &lt;/p&gt;</comment>
                            <comment id="2019451" author="sjohnson540" created="Mon, 1 Oct 2018 17:38:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=asya&quot; class=&quot;user-hover&quot; rel=&quot;asya&quot;&gt;asya&lt;/a&gt; just curious &amp;#8211; when is the next triage meeting planned for?&lt;/p&gt;</comment>
                            <comment id="2014193" author="sjohnson540" created="Tue, 25 Sep 2018 21:37:34 +0000"  >&lt;p&gt;Yes they are all a part of the same sharded cluster. Most replica sets have one or two collections on them.&lt;/p&gt;</comment>
                            <comment id="2013861" author="asya" created="Tue, 25 Sep 2018 18:28:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sjohnson540&quot; class=&quot;user-hover&quot; rel=&quot;sjohnson540&quot;&gt;sjohnson540&lt;/a&gt; we are going to discuss the backport to 3.6 at our next triage meeting.&lt;/p&gt;

&lt;p&gt;We originally decided not to backport it because of complexity of the change but will reconsider it now.&lt;/p&gt;

&lt;p&gt;Just to confirm, you observe this happening on a sharded collection (you mention 80 replica sets but not if they are part of a sharded cluster)?&lt;/p&gt;</comment>
                            <comment id="2013779" author="sjohnson540" created="Tue, 25 Sep 2018 17:37:20 +0000"  >&lt;p&gt;@NicholasZolnierz I was hoping to get an update on this. Is there any possibility of it being backported to 3.6. It breaks the functionality of Change Streams for our cluster.&#160;&lt;/p&gt;

&lt;p&gt;We are currently running ~80 replica sets in production. As such we cannot afford to jump major versions for a bug fix, but if it was backported we could have it rolled out very soon, and would be happy to share our experience running changestreams on large deployments.&#160;&lt;/p&gt;</comment>
                            <comment id="1958031" author="sjohnson540" created="Thu, 26 Jul 2018 22:39:40 +0000"  >&lt;p&gt;Hello! I have ran into this issue with our change streams in our staging environment in preparation to deploy to production. Is this fix going to be backported to 3.6.(6?) or will it only be released in 4.0?&lt;/p&gt;</comment>
                            <comment id="1934957" author="xgen-internal-githook" created="Fri, 29 Jun 2018 15:59:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;nzolnierzmdb&apos;, &apos;name&apos;: &apos;Nick Zolnierz&apos;, &apos;email&apos;: &apos;nicholas.zolnierz@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32088&quot; title=&quot;ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32088&quot;&gt;&lt;del&gt;SERVER-32088&lt;/del&gt;&lt;/a&gt;: ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection&lt;/p&gt;

&lt;p&gt;(cherry picked from commit a76082905d63ac8aaaae25e5c76812e6edf9bc07)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8bde61b46f1207ade073d51adbfe9ea9004925cd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8bde61b46f1207ade073d51adbfe9ea9004925cd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1926197" author="nicholas.zolnierz" created="Wed, 20 Jun 2018 15:18:47 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=greg.mckeon&quot; class=&quot;user-hover&quot; rel=&quot;greg.mckeon&quot;&gt;greg.mckeon&lt;/a&gt;, that&apos;s correct this was originally scoped for 4.0.&#160;&lt;/p&gt;</comment>
                            <comment id="1926172" author="greg.mckeon" created="Wed, 20 Jun 2018 15:09:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nicholas.zolnierz&quot; class=&quot;user-hover&quot; rel=&quot;nicholas.zolnierz&quot;&gt;nicholas.zolnierz&lt;/a&gt; I&apos;m under the impression this is intended for 4.0, so I&apos;ve requested the backport. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shane.harvey&quot; class=&quot;user-hover&quot; rel=&quot;shane.harvey&quot;&gt;shane.harvey&lt;/a&gt; so he&apos;s aware this may break drivers testing against 4.0 once we backport.&lt;/p&gt;</comment>
                            <comment id="1925712" author="ian@10gen.com" created="Wed, 20 Jun 2018 02:08:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nicholas.zolnierz&quot; class=&quot;user-hover&quot; rel=&quot;nicholas.zolnierz&quot;&gt;nicholas.zolnierz&lt;/a&gt; does this need to get into 4.0?&lt;/p&gt;

&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=greg.mckeon&quot; class=&quot;user-hover&quot; rel=&quot;greg.mckeon&quot;&gt;greg.mckeon&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1903382" author="xgen-internal-githook" created="Tue, 29 May 2018 15:25:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;nzolnierzmdb&apos;, &apos;name&apos;: &apos;Nick Zolnierz&apos;, &apos;email&apos;: &apos;nicholas.zolnierz@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32088&quot; title=&quot;ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32088&quot;&gt;&lt;del&gt;SERVER-32088&lt;/del&gt;&lt;/a&gt;: ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a76082905d63ac8aaaae25e5c76812e6edf9bc07&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a76082905d63ac8aaaae25e5c76812e6edf9bc07&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1831055" author="charlie.swanson" created="Mon, 12 Mar 2018 18:03:07 +0000"  >&lt;p&gt;Bumping this out of the sprint in favor of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32283&quot; title=&quot;Add an expression to inspect the resume token of a change stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32283&quot;&gt;SERVER-32283&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="468828">SERVER-32190</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="534654">SERVER-34695</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="534847">SERVER-34710</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="557623">PYTHON-1582</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="460776">SERVER-32029</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="935583">SERVER-43475</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="978505">SERVER-44210</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="550012">SERVER-35254</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>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 12 Mar 2018 18:03:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 19 weeks, 2 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-32190'>SERVER-32190</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-34695'>SERVER-34695</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-876</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 19 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>26.0</customfieldvalue>

                        </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>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>nicholas.zolnierz@mongodb.com</customfieldvalue>
            <customfieldvalue>sjohnson540</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htkx7z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htnju7:</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="2247">Query 2018-04-23</customfieldvalue>
    <customfieldvalue id="2265">Query 2018-05-07</customfieldvalue>
    <customfieldvalue id="2300">Query 2018-05-21</customfieldvalue>
    <customfieldvalue id="2301">Query 2018-06-04</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|htkjbr:</customfieldvalue>

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