[SERVER-8510] Move command line parsing into MONGO_INITIALIZERS and support JSON config files Created: 11/Feb/13  Updated: 28/Oct/15  Resolved: 11/Oct/13

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-10782 Mongoexport doesn't work with --field... Closed
is depended on by TOOLS-145 Tools don't handle connection string ... Closed
is depended on by SERVER-10289 Configuration for auditing Closed
is depended on by SERVER-10666 Remove boost::program_options from ne... Closed
Related
related to SERVER-8911 If keyFile parameter is quoted in con... Closed
related to SERVER-10507 options_parser_test failed on all Win... Closed
related to SERVER-11330 mongodump --version runs the actual c... Closed
related to SERVER-11144 Standardize YAML config file format Closed
related to SERVER-11575 YAML Config File Closed
related to SERVER-16819 JSON configuration file Closed
related to SERVER-11143 Use Constraints in Option Parsing Backlog
is related to SERVER-7531 mongod doesn't start with "-f" option... Closed
is related to SERVER-8011 use _exit() instead of dbexit() in pr... Closed
is related to SERVER-9172 Command line parameters --help and --... Closed
is related to SERVER-6900 Windows Service: --install output sho... Closed
is related to SERVER-7144 Support improved config file parsing Closed
Backwards Compatibility: Major Change
Participants:

 Comments   
Comment by auto [ 14/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Register mongobridge options with new options parser
Branch: master
https://github.com/mongodb/mongo/commit/a428f58a6fd4f9497b60b10fa749e5cf2eec7b7c

Comment by auto [ 11/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Fix compile on windows
Branch: master
https://github.com/mongodb/mongo/commit/50682334073f0289d8700080a09299e6e061276c

Comment by auto [ 11/Oct/13 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8510 Fix enterprise compile.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/25d58367f87ee8f5306e482d7c5e2de0f759aeb5

Comment by auto [ 11/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Consolidate option parsing into the parser so parsing is implied by linking the parser
Branch: master
https://github.com/mongodb/mongo/commit/39c6861e3a012cd6cc2148cd961be9cb7502ac3e

Comment by auto [ 09/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Create separate library for tests to eliminate dependency on fork
Branch: master
https://github.com/mongodb/mongo/commit/31e6059e96f47ba651b1ad06ff08f8a44f3c913c

Comment by auto [ 09/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Make initializer groups for the four stages of option handling
Branch: master
https://github.com/mongodb/mongo/commit/f8a42a561a37d683234a383ccdae5721030560e1

Comment by auto [ 09/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Add comments in JSON config files
Branch: master
https://github.com/mongodb/mongo/commit/fc67141dcb245aaaa47321c863c8d26aef6bb5ee

Comment by auto [ 08/Oct/13 ]

Author:

{u'username': u'jpiche', u'name': u'Joseph J. Piche\u0301', u'email': u'j@jpiche.com'}

Message: SERVER-8510 Fixing typo directly -> directory in options help string

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/dd6872edef9ce246dbdb7be5dacf116a61154dac

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Use serverGlobalParams instead of cmdLine
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/a80616f3b773c7c5675c09fa215f5f7a14a3db98

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Factored out test framework option storage
Branch: master
https://github.com/mongodb/mongo/commit/46bfd183986454ef9ccf5f333cb38be4ce4b1255

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Factored out mongo shell option storage
Branch: master
https://github.com/mongodb/mongo/commit/fb23a35f33bdc1931185abd4c06ef48783555191

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Factored out option storage in tools
Branch: master
https://github.com/mongodb/mongo/commit/e4a5720eed6d08d3207e02f5bfe0ceb40f5f6b8d

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Get rid of CmdLine struct and use new option handling style
Branch: master
https://github.com/mongodb/mongo/commit/6fc951d492881a32754bc3e38e8b5eca78929197

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Factored out ssl option registration and storage
Branch: master
https://github.com/mongodb/mongo/commit/d61cdb37d5fcc83f649c912df2c590649935eac1

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Add comments to the OptionDescription struct
Branch: master
https://github.com/mongodb/mongo/commit/05dd65e6a7718ce80e3f452d88fe5105a10e9247

Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Remove implicit boolean integer comparisons for command line options
Branch: master
https://github.com/mongodb/mongo/commit/a2e95cdc71af9efe34b0d7cec138dcc16065a397

Comment by Shaun Verch [ 03/Oct/13 ]

Driver changes: The way ssl is enabled in the C++ driver is no longer going to be "cmdLine.sslOnNormalPorts" but will be "sslGlobalParams.sslOnNormalPorts".

See: https://jira.mongodb.org/browse/SERVER-7747

Comment by auto [ 06/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Fix to expected result in command line parsing test
Branch: master
https://github.com/mongodb/mongo/commit/c6d6dd531e92559a74c60f4149f1d22b40f26201

Comment by auto [ 06/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Make sure to use different data directories in jstest
Branch: master
https://github.com/mongodb/mongo/commit/253496f54b83cbda7f13fdf48a6377bb122d9e6a

Comment by auto [ 06/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Initialize member variables for mongoimport and mongoexport classes
Branch: master
https://github.com/mongodb/mongo/commit/def8f6fb859a04a9c7111b98a1f1571339a644c8

Comment by auto [ 05/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Fix username and password options in mongo shell
Branch: master
https://github.com/mongodb/mongo/commit/dabd77bdfa696084de7507f86733eaf563841f49

Comment by auto [ 05/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Use new options parser in SNMP module
Branch: master
https://github.com/mongodb/mongo/commit/c5b115ce983b23a375a7fff32aa3b9cd013547f3

Comment by auto [ 05/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Bring back Module class
Branch: master
https://github.com/mongodb/mongo/commit/49fd378c1de587c185da9e47d753e5622be1d16c

Comment by auto [ 05/Sep/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Use new option parser in SNMP module
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/d2118c8e44875ec16868c9cf70d815641b1b9467

Comment by auto [ 14/Aug/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Use ferror to check error instead of checking for num bytes read
Branch: master
https://github.com/mongodb/mongo/commit/8f8ab9162c78f49b0ada3a0b8073c53755f0fc87

Comment by auto [ 14/Aug/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Fixed config file parser file reading on Windows
Branch: master
https://github.com/mongodb/mongo/commit/d42628ece83ebf3a6b340ae8c894e45a2c2ec9b9

Comment by auto [ 09/Aug/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Fix compile without debug flags on Linux
Branch: master
https://github.com/mongodb/mongo/commit/254444b8113d9eb8291dbde67ee75307839eaf40

Comment by auto [ 09/Aug/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8510 Added command line and config file parser to source tree with unit tests
Branch: master
https://github.com/mongodb/mongo/commit/ee0b4a412fbcd8bb60afd6321c2c934387f40d46

Generated at Thu Feb 08 03:17:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.