[DOCS-13519] Investigate changes in SERVER-46505: Add back requirement that full shard key must be in query to update a shard key value Created: 17/Mar/20  Updated: 13/Nov/23  Due: 10/Apr/20  Resolved: 07/Apr/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-46505 Add back requirement that full shard ... Closed
Participants:
Days since reply: 3 years, 44 weeks, 1 day ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

This fixed a targeting bug that was introduced by SERVER-42390. Marking as docs needed because this was discovered as part of the docs review for SERVER-42390.

Description of Linked Ticket

SERVER-39158 added the requirement that to update the value of a document's shard key, the update's query must include an equality match on the full shard key. SERVER-42390 changed the treatment of missing shard key fields when targeting based on a user document (e.g. a replacement document in an update) but incorrectly removed the restriction that the full shard key must be present in a query to update a shard key value. This requirement should be added back.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 07/Apr/20 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13519: update shard key with equality filter
Branch: master
https://github.com/mongodb/docs/commit/2fa73aa19a563c344bf5fde49db51d55ba746e34

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