Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on May 6, 2021

Ability to create the resume token based on oplog item

CHoose an oplog event to set the resume token for, instead of needing to run the change stream for system to create a resume token Why: Concerns about many stream re-reading a full oplog if failure before finding first event
  • Attach files
  • Guest
    May 6, 2021
    A customer would like to obtain the set of ChangeStream resume tokens for a particular point in time so that they can selectively resume using a particular resume token. The startAtOperationTime feature of change streams uses a BSON timestamp, which has second-level granularity, and there could be many oplog entries within a second. If we had an option to return all the documents (and their respective change stream resume tokens) in the oplog for a given timestamp, then the customer could perform additional filtering, (or the filter could also be part of the operation) and allow them to resume, more selectively.