Remap extension vtable checks to InvalidExtensionVTable + tassert->uassert

XMLWordPrintableJSON

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Remap the ~44 extension vtable null-check assertions across host_connector/, shared/handle/, and shared/extension_status.h from ad-hoc tassert codes to ErrorCodes::InvalidExtensionVTable, swapping tassert -> uassert since a missing vtable entry is the extension author's fault, not a server invariant violation. Converts corresponding DEATH_TESTs to ASSERT_THROWS_CODE-style tests. Depends on SERVER-131005 (IDL scaffolding).

            Assignee:
            Will Buerger
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: