Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60120

(Sharded) support updates to fields in a document's cluster key

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution

      This ticket should incorporate

      (1) updates to fields in a documents cluster key when the collection is not sharded with any of said fields (see if SERVER-60119 already enables this)

      (2) updates to fields in a documents cluster key when the fields are included in the shard key  — for context, this may already work as it does with non-clustered collections.

      How sharded collections handle shard key updates today (non-clustered):
      The mongos sends an update, if the update modifies a document's shard key, an error gets propagated back to the mongos, and the mongos issues a delete for the preimage and insert for the postimage in a multi-document transaction. Clustered collections should behave the same as non-clustered collections in this way.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: