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

Cleanup sharding library dependencies

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.3, 3.5.4
    • Affects Version/s: 3.5.3
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2017-03-06
    • 0

      Sharding components include a lot of libraries because the files are scattered around. This ticket is to do a first pass cleanup to help with the caching changes needed for SERVER-20854.

      In particular:

      • There should be no dependency on mongoscore other than mongos
      • There is no reason for the sharding unit-tests to use the egress metadata hooks
      • ChunkManagerTargeter is only used by the sharded write commands implementation so it should go under there
      • The haveLocalShardingInfo initializer is only used on mongod, so it should be there only.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: