[DOCS-12968] Incorrect FAQ in sharding section - shard keys can be changed in 4.2 Created: 20/Aug/19  Updated: 30/Oct/23  Resolved: 20/Aug/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Eoin Brazil Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 4 years, 25 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Hi All,

It looks like the FAQ sharding section "Can I change the shard key after sharding a collection" needs to be updated with the release of 4.2 per "Change a Document’s Shard Key Value", specifically noting:

Starting in MongoDB 4.2, you can update a document’s shard key value unless the shard key field is the immutable _id field.

You could start the text with something like:

No, when you are using MongoDB 4.0 or earlier. Yes, if you are using MongoDB 4.2 and the shard key is not the immutable _id field.

Thanks!
Eoin

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 20/Aug/19 ]

Author:

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

Message: DOCS-12968: tweak wording on faq shard key
Branch: master
https://github.com/mongodb/docs/commit/abc5dd4b83936a794b438a077dcf214ba6f6aeef

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