Move WireSpec Parameters out of code into defaults

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In each main mongo executable (mongo, mongos, mongod, mongoq, etc.) there is a function that initializes the WireSpec parameters:

      https://github.com/10gen/mongo/blob/6a836ac18b9530f4a5e0f87a048497eb0686a77d/src/mongo/s/mongos_main.cpp#L742-L751

      https://github.com/10gen/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/db/mongod_main.cpp#L1393

      https://github.com/10gen/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/embedded/embedded.cpp#L127

      https://github.com/10gen/mongo/blob/cf78d87ee503ecb877d261c9138d786b0b3b399f/src/mongo/shell/mongo_main.cpp#L167

      (enterprise links in comments)

      We should move these default parameters out of the middle of the setup code and into defaults somewhere, where they are more easily discoverable.

            Assignee:
            Unassigned
            Reporter:
            Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: