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

Improve $emit timeseries error message

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

      We should improve the error message when $emit is used for a non time-series collection.

      Currently it's:

      "Expected a Time Series collection TestColl"

      It should be a bit more descriptive, example below:

      "$emit can only be used with a time series collection. TestColl is not a time-series collection."

            Assignee:
            andrew.chen@mongodb.com Andrew Chen
            Reporter:
            matthew.normyle@mongodb.com Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: