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

Reshape ShardCollectionType and shard_metadata_util.h/cpp for ShardServerCatalogCacheLoader

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.6
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-04-17, Sharding 2017-05-08

      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.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: