[SERVER-52762] Always persist ChunkType with the proper `collectionUUID` Created: 11/Nov/20  Updated: 29/Oct/23  Resolved: 01/Dec/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-0-Metadata-Format
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-52761 Add collectionUUID field to ChunkType Closed
is depended on by SERVER-52767 Handle collectionUUID in config.chunk... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-11-30, Sharding 2020-12-14
Participants:

 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


 Comments   
Comment by Githook User [ 01/Dec/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-52762 Always persist ChunkType with the proper `collectionUUID` (amend minor change)
Branch: master
https://github.com/mongodb/mongo/commit/1e6d0a856a9c9858552cdbdec889be14f4964b61

Comment by Githook User [ 01/Dec/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-52762 Always persist ChunkType with the proper `collectionUUID`
Branch: master
https://github.com/mongodb/mongo/commit/4b8e802d58cdec6e340c6f8cace09224a64c9aa9

Generated at Thu Feb 08 05:28:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.