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

Cleanup sharding library dependencies

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.3
    • Fix Version/s: 3.4.3, 3.5.4
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Sharding 2017-03-06
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: