[SERVER-75921] Remove conflicting error message for sharded time-series single delete with an id query Created: 10/Apr/23  Updated: 29/Oct/23  Resolved: 12/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-80104 Sharded time-series buckets should al... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Execution Team 2023-04-17
Participants:

 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.



 Comments   
Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-75921 Remove conflicting error message for sharded time-series singleton delete with an id query

(cherry picked from commit e1d387e7d410fc83362f99626985ed5beb0271f8)
Branch: v7.0
https://github.com/mongodb/mongo/commit/b853b29e41b406ea0c037a627c45c5d86058154b

Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-75921 Remove conflicting error message for sharded time-series singleton delete with an id query
Branch: master
https://github.com/mongodb/mongo/commit/e1d387e7d410fc83362f99626985ed5beb0271f8

Generated at Thu Feb 08 06:31:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.