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

Improve start stream processor pipeline validation error messages

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Atlas Streams
    • Fully Compatible
    • Sprint 58

      https://jira.mongodb.org/browse/MHOUSE-12596 changed the GetAllConnections implementation to use streams_startStreamProcessor with parseOnly=true instead of performing this parsing/validation in the server layer. As a result of these changes, the customer-facing error messages changed for some errors. For example, previously an invalid pipeline might result in an error like "a pipeline stage specification object must contain exactly one field". Now, the error returned directly from mstream is "Stage must contain a single object spec", which is slightly less information. We should improve the error messages in this path since they are now visible to users after validation.

            Assignee:
            matthew.normyle@mongodb.com Matthew Normyle
            Reporter:
            christopher.caplinger@mongodb.com Christopher Caplinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: