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

Gracefully handle empty time-series options in collMod

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.3.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.3
    • Execution Team 2023-03-06
    • 120

      With empty time-series options, collMod can fail but this isn't consistent with behaviour in v6.0 where we do nothing if timeseries options = {}. 

      Here is where we return the error: https://github.com/10gen/mongo/blob/master/src/mongo/db/timeseries/timeseries_options.cpp#L117-L119 

            Assignee:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Reporter:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: