ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DB Integration & Observability
    • QE 2026-11-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      The showErrorsAsEvents feature converts recoverable, document-scoped failures into operationType: "error" events. Convertibility is currently determined by the denylist classifier isConvertibleChangeStreamError. As a result, a thrown tassert is still converted.

      The required-image carve-out avoids conversion by clearing the recorded event identity before rethrowing.

      Proposed change

      Add an explicit opt-out mechanism—a ThrowWithoutErrorEvent(...) macro or an RAII guard—that lets a throw site mark an exception as non-convertible. Migrate the required-image case to use this mechanism instead of clearing the recorded identity.

      Follow-up

      Consider replacing the denylist classifier with throw-site tagging or an allowlist before the flag defaults to on. This follow-up may be split into a separate task.

            Assignee:
            Nicola Cabiddu
            Reporter:
            Nicola Cabiddu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: