-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
Patch up config.chunks entries in the following ways:
- Remove the collectionUUID field during downgrade
- Add the collectionUUID field during upgrade
Current config server config.chunks collection format (before upgrade / after downgrade):
{ _id : "test.foo-a_MinKey", ns : "test.foo", min : { "a" : { "$minKey" : 1 } }, max : { "a" : { "$maxKey" : 1 } }, shard : "test-rs1", lastmod : Timestamp(1, 0), lastmodEpoch : ObjectId("587fc60cef168288439ad6ed"), jumbo : false // optional field }
New config server config.chunks collection format (before downgrade / after upgrade):
{ _id : "test.foo-a_MinKey", uuid : "9ecb0808-b62b-4204-9f99-8c65c9e6e10b", min : { "a" : { "$minKey" : 1 } }, max : { "a" : { "$maxKey" : 1 } }, shard : "test-rs1", lastmod : Timestamp(1, 0), lastmodEpoch : ObjectId("587fc60cef168288439ad6ed"), jumbo : false // optional field }
- depends on
-
SERVER-52762 Always persist ChunkType with the proper `collectionUUID`
- Closed
- is depended on by
-
SERVER-53105 Remove namespace field from config.chunks
- Closed