[DOCS-11163] Mistaken requirement that all remove ops in a sharded collection must include shard key Created: 31/Dec/17 Updated: 30/Oct/23 Resolved: 13/Feb/18 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Sommer | Assignee: | Jeffrey Allen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 5 years, 50 weeks, 1 day ago |
| Description |
|
In the 3.0 docs, it says:
From 3.2 onwards, the "justOne" qualifier is omitted:
However, versions 3.2+ work the same as 3.0 – a shard key/_id is required only if justOne is true. |
| Comments |
| Comment by Githook User [ 27/Feb/18 ] |
|
Author: {'email': 'jeffrey.allen@10gen.com', 'name': 'jeff-allen-mongo', 'username': 'jeff-allen-mongo'}Message: |
| Comment by Githook User [ 27/Feb/18 ] |
|
Author: {'email': 'jeffrey.allen@10gen.com', 'name': 'jeff-allen-mongo', 'username': 'jeff-allen-mongo'}Message: |
| Comment by Githook User [ 27/Feb/18 ] |
|
Author: {'email': 'jeffrey.allen@10gen.com', 'name': 'jeff-allen-mongo', 'username': 'jeff-allen-mongo'}Message: |
| Comment by Jeffrey Allen [ 13/Feb/18 ] |
|
This is RFM: https://github.com/mongodb/docs/pull/3229 |
| Comment by Allison Reinheimer Moore [ 02/Jan/18 ] |
|
Todo: Verify that shard key or _id are required only if justOne is true, and tweak note accordingly. |