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

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

    • Fully Compatible
    • ALL
    • 0

      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.

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

              Created:
              Updated:
              Resolved: