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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 5.1.0
    • None
    • None
    • Execution Team 2021-07-26, Execution Team 2021-08-09
    • 148

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: