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

(Unsharded) 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
    • Labels:
    • Storage Execution
    • 2

      For unsharded clustered collections, this will include:

      Record Store

      • removing the existing record
      • inserting the updated record with the new RecordId (which will be generated by it's cluster key)

      Index Catalog

      • Record updates through the IndexCatalog class currently assume the RecordId of the pre and post image remains constant.
      • Callers should provide the IndexCatalog's updateRecord with the old and new RecordId.
      • The old RecordId will be used for removing the existing secondary index, the new RecordId for inserting the new one that matches the newly modified cluster key

      This ticket can be split up into 2 commits
      (1) clustered collections with no secondary indexes
      (2) clustered collections with secondary indexes*

            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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: