Make sure registering a duplicate LiteParsed stage parser crashes startup

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Once we remove DocumentSource::registerParser() we won't go through this fatal check: https://github.com/10gen/mongo/blob/9ee104fa8d4995cef2dffc9371cce76e0937168d/src/mongo/db/pipeline/document_source.cpp#L98 

      We should make sure that attempting to register the same name twice still is startup-fatal

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

              Created:
              Updated:
              Resolved: