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

Reshape ShardCollectionType and shard_metadata_util.h/cpp for ShardServerCatalogCacheLoader

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.6
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2017-04-17, Sharding 2017-05-08

    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.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee
            dianna.hohensee@mongodb.com Dianna Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: