-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
We are currently in the process of enabling Change Data Capture (CDC) for a MongoDB database through Debezium. Although we've successfully loaded historical data as part of the CDC configuration, we are facing an error while trying to load incremental data.
Mongodb Version : 6.0.10
debezum version :2.2.1 Final
Let us know incase of any further information required .
We increased the oplog size from 5GB to 10GB, but we are still encountering the same error. Please find the error log below.
{"t":
,"s":"W", "c":"COMMAND", "id":23799, "ctx":"conn3418957","msg":"Aggregate command executor error","attr":{"error":{"code":280,"codeName":"ChangeStreamFatalError","errmsg":"cannot resume stream; the resume token was not found. {_data: \"8265AD6044000000032B022C0100296E5A100403FD8102EC5B4F1FB8AA52E32DDD575246645F6964006465AD60443FC5B6BE2DAB83AE0004\"}"},"stats":{},"cmd":{"aggregate":1,"pipeline":[{"$changeStream":{"fullDocument":"updateLookup","allChangesForCluster":true,"resumeAfter":
{"_data":"8265AD602F0000000E2B022C0100296E5A1004917E0BE6BBE14491B525D958D67E425746645F6964006465AD602FB6A851511014BC610004"}}},{"$addFields":{"namespace":
{"$concat":["$ns.db",".","$ns.coll"]}}},{"$match":{"$and":[{"namespace":{"$regularExpression":
{"pattern":"test.test","options":"i"}}},{"operationType":{"$in":["insert","update","replace","delete"]}}]}},{"$addFields":{"namespace":"$$REMOVE"}}],"cursor":{},"$db":"admin","lsid":{"id":{"$uuid":"403288f7-bffe-42fe-9216-633fcc198e72"}},"$readPreference":{"mode":"secondaryPreferred"}}}}