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

tapError should avoid throwing unnecessary exceptions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • 7.1.0-rc0, 6.0.6, 5.0.18, 7.0.0-rc2
    • None
    • None
    • Fully Compatible
    • ALL
    • QE 2023-06-12, QE 2023-06-26
    • 8

    Description

      The tapError method in a Future object is supposed to watch the generation of an error, but if it throws an exception during its processing, the process crashes (not always, though, maybe there are alternative code paths). The code at tapError can throw an exception if the request has an non-string $db field

      Attachments

        Activity

          People

            alberto.massari@mongodb.com Alberto Massari
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: