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

Always persist ChunkType with the proper `collectionUUID`

    • Fully Compatible
    • Sharding 2020-11-30, Sharding 2020-12-14

      • Add an additional collectionUUID argument to ChunkType's constructor
      • Always use either the new constructor or the collectionUUID setter for ChunkType objects that are going to be persisted

      Tests:

      • Initial chunks contains the collection UUID
      • Every chunk operation preserves the collection UUID
      • Add collection UUID to unit tests instantiating ChunkType objects

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: