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

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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: