Remove link dependency of mongod on mongoscore

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 12 (04/01/16), Sharding 13 (04/22/16), Sharding 14 (05/13/16), Sharding 15 (06/03/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The Chunk class contains utilities, which the router (mongos) uses for manipulating chunk metadata. It so happens that this class also contains static configuration used by mongod for chunk split decisions. In particular, the Chunk::MaxObjectPerChunk value.

      Because of this dependency, mongod needs to link everything from mongos, which makes linking slow.

      In order to fix this, the mongod specific parts should be pulled out of Chunk.

            Assignee:
            Andy Schwerin
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: