Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103177

Fix bug around exceptions from restoreState() in DocumentSourceCursor and add unit tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Query Execution
    • None
    • Query Execution
    • Fully Compatible
    • v8.1
    • QE 2025-04-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DocumentSourceCursor is rather difficult to unit test, and as discussed in SERVER-102713, it has a bug around how it deals with exceptions from storage. This area has been buggy enough we may as well invest the time in making it more unit testable so we can better test it and completely avoid bugs like this in the future.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: