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

Make CollectionShardingState a decoration on Collection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • Sharding 18 (08/05/16), Sharding 2016-08-29

    Description

      Currently, the CollectionShardingState is kept on a map, which tracks the set of {{Collection}}s on the server. We should instead make it a decoration on the Collection in order to avoid the separate map lookup and mutex.

      This also better ties the lifetime of a collection with that of its sharding state and allows us to potentially prevent direct drop of sharded collections.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: