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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • manual, Server
    • None

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 15 weeks, 1 day ago