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

DurableViewCatalog::iterate() must check for pipeline type before applying callback

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • 0

    Description

      ViewCatalog::reloadIfNeeded_inlock() calls BSONElement::Obj(), which throws a UserException if the element is not of type Object. DurableViewCatalog::iterate() should prevent this from ever happening by first checking the type of the "pipeline" field before applying the callback to the record.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: