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

Enable ShardLocal on shards

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2017-02-13, Sharding 2017-03-06

    Description

      Currently ShardLocal has invariants to only run on config servers. Safe secondary reads requires the ability to do local reads/writes, to new config.chunks.uuid collections, so these must be removed. The initialization code will also need to be changed, to create ShardLocal instances on shards, which currently cannot be happening because the ShardLocal constructor has an invariant in it to make sure it's on a config server.

      Specific Shard class changes:

      • remove "OnConfig" from function names, as they'll run on shards and config servers
      • remove invariant checks that the server is a config server
      • additional unit testing

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: