Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
Sharding 2020-11-30, Sharding 2020-12-14
Description
- 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
Attachments
Issue Links
- depends on
-
SERVER-52761 Add collectionUUID field to ChunkType
-
- Closed
-
- is depended on by
-
SERVER-52767 Handle collectionUUID in config.chunks on upgrade/downgrade
-
- Closed
-