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

Enable ShardLocal on shards

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-02-13, Sharding 2017-03-06

      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

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

              Created:
              Updated:
              Resolved: