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

movePrimary is preserving UUID's of unsharded collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: 8.0.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-03-18, CAR Team 2024-04-01
    • 129

      SERVER-79160 changed movePrimary behavior for unsharded collections to preserve the UUID across shards. This was added because at that time tracked collections needed to preserve UUID after the move (so the sharding catalog would be consistent with the local catalog), all unsharded collections were going to be tracked and there were no moveCollection to move unsplittable collections. This had an unintended effect though explained by SERVER-87772, and considering for 8.0 we might have unsharded collections that are not tracked, we should restore the original movePrimary behavior.

      As part of this ticket we should make sure we don't break compatibility with C2C.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: