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

Avoid throwing an exception in DocumentSourceCursor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-02-17
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This line in particular is susceptible to throw a WriteConflict exception even if it's an incredibly remote chance.

      As the operation is failing anyways this operation will cleanup after itself so it's fine to swallow the exception since otherwise it will crash the server as the ScopeGuard destructor is noexcept.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None