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

Error handling for time-series updates and deletes on collections without a metaField

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.1.0
    • Component/s: None
    • None
    • Execution Team 2021-07-26, Execution Team 2021-08-09
    • 148

      Currently, updates and deletes on collections without a metaField don't correctly fail because the isTimeseriesMetadataOnlyQuery function checks to see if the query only contains the field "meta." A time-series collection without a metaField should not be able to query on the field "meta" and instead throw an error, but because of the behavior of isTimeseriesMetadataOnlyQuery described above, no error is thrown.

            Assignee:
            kris.satya@mongodb.com Kris Satya (Inactive)
            Reporter:
            kris.satya@mongodb.com Kris Satya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: