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

Remove conflicting error message for sharded time-series single delete with an id query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.0.0-rc0, 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Execution Team 2023-04-17

    Description

      The _id field for time-series collections is actually a user specified field. Unlike for other collections, we can't perform a sharded time-series single delete just with _id field in the query. The error message says "A single delete on a sharded collection must contain an exact match on _id (and have the collection default collation)" even though the query is on the _id field. We should remove this part of the comment for time-series collections.

      Attachments

        Issue Links

          Activity

            People

              yuhong.zhang@mongodb.com Yuhong Zhang
              yuhong.zhang@mongodb.com Yuhong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: