Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12968

Incorrect FAQ in sharding section - shard keys can be changed in 4.2

      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.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            eoin.brazil@mongodb.com Eoin Brazil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 35 weeks, 4 days ago