[SERVER-28721] Reshape ShardCollectionType and shard_metadata_util.h/cpp for ShardServerCatalogCacheLoader Created: 10/Apr/17  Updated: 06/Dec/17  Resolved: 17/Apr/17

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-04-17, Sharding 2017-05-08
Participants:

 Description   

This ticket reshapes the ShardCollectionType to the following scheme:

    {
       "_id" : "foo.bar",                               // will become UUID when available
       "ns" : "foo.bar",
       "epoch" : ObjectId("58b6fd76132358839e409e47"),  // will remove when UUID becomes available
       "key" : {
           "_id" : 1
       },
       "defaultCollation" : {
           "locale" : "fr_CA"
       },
       "unique" : false,
       "refreshing" : 0
       "sequenceNumber" : 5
    }

This ticket also covers rearranging shard_metadata_util.h/cpp to use the new ShardCollectionType and provide the utilities needed by the ShardServerCatalogCacheLoader.



 Comments   
Comment by Githook User [ 15/Apr/17 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-28721 update ShardCollectionType schema with additional fields and refactor uses thereof.
Branch: master
https://github.com/mongodb/mongo/commit/a3db68bfea74c748e6bc1a5dafb60d6519174306

Generated at Thu Feb 08 04:18:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.