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

Persist config.collections entries on shards for the collections that shards possess

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Fully Compatible

    Description

      Shards need the collection shard key for filtering, eventually the collection UUID (will temporarily be the namespace until that project is complete), and a chunk version for secondary refresh (SERVER-28120). It will look roughly like this

          {
              "_id" : UUID,
              "ns" : “test.foo”,
              "key" : {
                              "a" : 1
              },
              “secondaryRefreshTo”: ChunkVersion
          }
      

      It should be persisted in MetadataLoader::_initCollection, where we query the config server for the necessary config.collection entry.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: