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

"Cannot find index to verify that join fields will be unique" should be user error

    • Atlas Streams
    • Fully Compatible
    • Sprint 59

      Change the below to use ErrorCodes::StreamProcessorInvalidOptions, which is a user error:

          if (fieldPaths)

      {         uassert(8186209,                 "Cannot find index to verify that join fields will be unique",                 fieldsHaveSupportingUniqueIndex(expCtx, outputNs, *fieldPaths));         return
      {*fieldPaths, boost::none}

      ;
          }

            Assignee:
            andrea.rahmanan@mongodb.com Andrea Rahmanan
            Reporter:
            matthew.normyle@mongodb.com Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: