[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: |
|
||||||||||||
| 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: (cherry picked from commit e1d387e7d410fc83362f99626985ed5beb0271f8) |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |