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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Execution Team 2023-04-17

      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.

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

              Created:
              Updated:
              Resolved: