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

Reshape ShardCollectionType and shard_metadata_util.h/cpp for ShardServerCatalogCacheLoader

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.6
    • Component/s: Sharding
    • Labels:
      None

      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

            Assignee:
            dianna.hohensee Dianna Hohensee
            Reporter:
            dianna.hohensee Dianna Hohensee
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: