Make AsyncResultsMerger::closeShardCursors(..) to guarantee that no events from closed cursors are ever returned

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-05-12, QE 2025-05-26
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Make AsyncResultsMerger::closeShardCursors(..) to guarantee that no events from closed cursors are ever returned. This is needed to avoid "over-reading" of change stream events on shards that are to be untracked. That may become a problem if a data shard is un-tracked and then tracked again in time - we could observe duplicate events from the same shard.  

            Assignee:
            Jan Steemann
            Reporter:
            Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: