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

Handle bucket _ids collision during chunk migration for a sharded time-series collection

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • ALL

      We migrate the whole buckets during chunk migration, so the chance of collision is higher for time-series collection since we prefix the first 4 bytes of _id with timestamp. So there are fewer bytes to generate a unique id across the cluster.

      We can consider a workaround to regenerate the bucket (with a new _id) when a chunk migration for time-series collection fails because of _id collision

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: