<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:06:17 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>[KAFKA-397] cannot resume stream; the resume token was not found</title>
                <link>https://jira.mongodb.org/browse/KAFKA-397</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;We are currently in the process of enabling Change Data Capture (CDC) for a MongoDB database through Debezium. Although we&apos;ve successfully loaded historical data as part of the CDC configuration, we are facing an error while trying to load incremental data.&lt;/p&gt;

&lt;p&gt;Mongodb Version : 6.0.10&lt;/p&gt;

&lt;p&gt;debezum version :2.2.1 Final&lt;/p&gt;

&lt;p&gt;Let us know incase of any further information required .&#160;&lt;/p&gt;

&lt;p&gt;2024-01-22 13:25:05,437 ERROR &lt;span class=&quot;error&quot;&gt;&amp;#91;updatedata-v22|task-0&amp;#93;&lt;/span&gt; Error while attempting to read from change stream on &apos;rs6&apos;: Query failed with error code 280 with name &apos;ChangeStreamFatalError&apos; and error message &apos;Executor error during getMore :: caused by :: cannot resume stream; the resume token was not found. {_data: &quot;8265AE6CB1000000032B022C0100296E5A100403FD8102EC5B4F1FB8AA52E32DDD575246645F6964006465AE6CB13FC5B6BE2DCBB6F60004&quot;}&apos; on server &lt;span class=&quot;error&quot;&gt;&amp;#91;ip&amp;#93;&lt;/span&gt;:27017 (io.debezium.connector.mongodb.connection.MongoDbConnection) &lt;span class=&quot;error&quot;&gt;&amp;#91;debezium-mongodbconnector-update-data-V22-change-event-source-coordinator&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2552681">KAFKA-397</key>
            <summary>cannot resume stream; the resume token was not found</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="13200">Declined</resolution>
                                        <assignee username="valentin.kovalenko@mongodb.com">Valentin Kavalenka</assignee>
                                    <reporter username="anand.singh@jungleegames.com">Anand Singh</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Jan 2024 14:19:34 +0000</created>
                <updated>Thu, 1 Feb 2024 08:40:20 +0000</updated>
                            <resolved>Thu, 1 Feb 2024 08:40:20 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="6058373" author="JIRAUSER1258163" created="Thu, 1 Feb 2024 08:38:07 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=anand.singh%40jungleegames.com&quot; class=&quot;user-hover&quot; rel=&quot;anand.singh@jungleegames.com&quot;&gt;anand.singh@jungleegames.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The error you are seeing does not necessary mean there is something wrong with either the MongoDB server or the driver. The error states that a change stream cannot be resumed with the specified &lt;tt&gt;resumeAfter&lt;/tt&gt; token because there is no oplog entry corresponding to the resume token. The most obvious reason why this may be is that the token rolled off the oplog.&lt;/p&gt;

&lt;p&gt;Based on the information you provided, you are using the Debezium connector for MongoDB, not the MongoDB Kafka Connector. Thereby, we may only propose you to consider contacting the Debezium support, as &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tom.selander%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;tom.selander@mongodb.com&quot;&gt;tom.selander@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-397?focusedCommentId=6031340&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-6031340&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;suggested&lt;/a&gt; previously.&lt;/p&gt;</comment>
                            <comment id="6033443" author="JIRAUSER1276936" created="Tue, 23 Jan 2024 07:08:54 +0000"  >&lt;p&gt;We are getting below error on the Mongodb logs .&#160;&lt;/p&gt;

{&quot;t&quot;:\{&quot;$date&quot;:&quot;2024-01-22T00:59:17.767+05:30&quot;}
&lt;p&gt;,&quot;s&quot;:&quot;W&quot;,&#160; &quot;c&quot;:&quot;COMMAND&quot;,&#160; &quot;id&quot;:23799, &#160; &quot;ctx&quot;:&quot;conn3418957&quot;,&quot;msg&quot;:&quot;Aggregate command executor &lt;b&gt;error&lt;/b&gt;&quot;,&quot;attr&quot;:{&quot;&lt;b&gt;error&lt;/b&gt;&quot;:{&quot;code&quot;:280,&quot;codeName&quot;:&quot;ChangeStreamFatalError&quot;,&quot;errmsg&quot;:&quot;cannot resume stream; the resume token was not found. {_data: \&quot;8265AD6044000000032B022C0100296E5A100403FD8102EC5B4F1FB8AA52E32DDD575246645F6964006465AD60443FC5B6BE2DAB83AE0004\&quot;}&quot;},&quot;stats&quot;:{},&quot;cmd&quot;:{&quot;aggregate&quot;:1,&quot;pipeline&quot;:[{&quot;$changeStream&quot;:{&quot;fullDocument&quot;:&quot;updateLookup&quot;,&quot;allChangesForCluster&quot;:true,&quot;resumeAfter&quot;:&lt;/p&gt;
{&quot;_data&quot;:&quot;8265AD602F0000000E2B022C0100296E5A1004917E0BE6BBE14491B525D958D67E425746645F6964006465AD602FB6A851511014BC610004&quot;}
&lt;p&gt;}},{&quot;$addFields&quot;:{&quot;namespace&quot;:&lt;/p&gt;
{&quot;$concat&quot;:[&quot;$ns.db&quot;,&quot;.&quot;,&quot;$ns.coll&quot;]}
&lt;p&gt;}},{&quot;$match&quot;:{&quot;$and&quot;:[{&quot;namespace&quot;:{&quot;$regularExpression&quot;:&lt;/p&gt;
{&quot;pattern&quot;:&quot;test.test&quot;,&quot;options&quot;:&quot;i&quot;}
&lt;p&gt;}},{&quot;operationType&quot;:{&quot;$in&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;insert&amp;quot;,&amp;quot;update&amp;quot;,&amp;quot;replace&amp;quot;,&amp;quot;delete&amp;quot;&amp;#93;&lt;/span&gt;}}]}},{&quot;$addFields&quot;:{&quot;namespace&quot;:&quot;$$REMOVE&quot;}}],&quot;cursor&quot;:{},&quot;$db&quot;:&quot;admin&quot;,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;403288f7-bffe-42fe-9216-633fcc198e72&quot;}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;}}}}&lt;/p&gt;</comment>
                            <comment id="6031340" author="JIRAUSER1268808" created="Mon, 22 Jan 2024 17:19:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=anand.singh%40jungleegames.com&quot; class=&quot;user-hover&quot; rel=&quot;anand.singh@jungleegames.com&quot;&gt;anand.singh@jungleegames.com&lt;/a&gt; it doesn&apos;t look like the MongoDB Kafka Connector is being used here since this error is being thrown from io.debezium.connector.mongodb.connection.MongoDbConnection. You may consider filing a ticket with Debezium related to this behavior here: &lt;a href=&quot;https://issues.redhat.com/projects/DBZ/summary&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://issues.redhat.com/projects/DBZ/summary&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6030495" author="dbeng-pm-bot" created="Mon, 22 Jan 2024 14:19:37 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=anand.singh%40jungleegames.com&quot; class=&quot;user-hover&quot; rel=&quot;anand.singh@jungleegames.com&quot;&gt;anand.singh@jungleegames.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_23812" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Assigned Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26447"><![CDATA[Java Drivers]]></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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2r2zg:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>