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

Handle sharded time-series updateOne / updateMulti that changes the shard key field value

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Storage Execution
    • Fully Compatible
    • QI 2023-06-12

    Description

      When an updateOne changes the shard key field value the updated document (measurement in our case) needs to be moved to the right shard. We have similar handling in the update stage now but instead of performing (delete on the old shard + insert on the new shard), we would want to (update the bucket document on the old shard + insert a bucket document on the new shard) directly on the bucket namespace.

      Attachments

        Activity

          People

            yoonsoo.kim@mongodb.com Yoon Soo Kim
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: