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

Cleanup sharding library dependencies

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.3, 3.5.4
    • 3.5.3
    • Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2017-03-06
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: