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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • QI 2023-06-12

      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.

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

              Created:
              Updated:
              Resolved: