[SERVER-11144] Standardize YAML config file format Created: 11/Oct/13  Updated: 11/Jul/16  Resolved: 25/Dec/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.5

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

Issue Links:
Related
related to SERVER-10255 Refactor storage of command line options Closed
is related to SERVER-8510 Move command line parsing into MONGO_... Closed
Participants:

 Description   

We need to decide what options are allowed in the JSON config file and implement that.

For example:

1. Options NOT in the JSON config file

  • fastsync
  • repair
  • help
  • config
  • dur
  • nodur
  • nojournal

2. Options renamed in the JSON config file

  • journal -> journal.enabled

As part of this, we hope to generate all of this in JSON format and use that as the source of truth for both the docs and unittest generation. Hopefully once the code is fully declarative, either this won't be needed or the code itself could be automatically generated.



 Comments   
Comment by Githook User [ 29/Jan/14 ]

Author:

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

Message: SERVER-11144 Removed unnecessary tests of option implementation details
Branch: master
https://github.com/mongodb/mongo/commit/8f8ef66e1b259372d4b6fccda6e57e7988b6f506

Comment by Githook User [ 22/Jan/14 ]

Author:

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

Message: SERVER-11144 Fix casing in JSONPEnabled
Branch: master
https://github.com/mongodb/mongo/commit/78bf8771fa3237d534575d9831992235c6bb9de8

Comment by Githook User [ 22/Jan/14 ]

Author:

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

Message: SERVER-11144 Fix casing of pidFilePath
Branch: master
https://github.com/mongodb/mongo/commit/d91079d6d0d85b070c7d94376a441a7d41ae49f5

Comment by Githook User [ 25/Dec/13 ]

Author:

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

Message: SERVER-11144 Fix typo in check for systemLog.logAppend
Branch: master
https://github.com/mongodb/mongo/commit/e63ebb10569e05b65a34071f0a9360374b4d7139

Comment by Githook User [ 25/Dec/13 ]

Author:

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

Message: SERVER-11144 Audit and snmp components of new config format
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/6bb7118826ead21c19e81a3e3e275e34dbd30589

Comment by Githook User [ 25/Dec/13 ]

Author:

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

Message: SERVER-11144 Change new config file option structure
Branch: master
https://github.com/mongodb/mongo/commit/4fd4c6ed97acad43178c6a004757cf5d73f9071f

Comment by Githook User [ 05/Dec/13 ]

Author:

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

Message: SERVER-11144 Allow options to be set to the same value again, but fix this case in jstests
Branch: master
https://github.com/mongodb/mongo/commit/b3d6506f0788c80c1bec9a74611239fc15977591

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11144 Add SASL options to JSON config file
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/2e39008a1cba757c9244eb09694fbd207a985938

Comment by Githook User [ 04/Dec/13 ]

Author:

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

Message: SERVER-11144 Make the setParameter option a StringMap type
Branch: master
https://github.com/mongodb/mongo/commit/47d01133dfa5e1aa9fce6d8cb743aedaabe2629f

Comment by Githook User [ 02/Dec/13 ]

Author:

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

Message: SERVER-11144 Move sasl files into sub directory
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/3ec451f671b6b964b2ab42c85bd6d062dcd4894c

Comment by auto [ 24/Oct/13 ]

Author:

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

Message: SERVER-11144 Swap meaning of prevalidation return value and add comment
Branch: master
https://github.com/mongodb/mongo/commit/cfff07276553e9a4131a1699a9f58c3e6cb0b3b3

Comment by auto [ 24/Oct/13 ]

Author:

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

Message: SERVER-11144 Use new positional option interface and remove old interface
Branch: master
https://github.com/mongodb/mongo/commit/3a40ae32970eba3ad93607a81d252800a802a834

Comment by auto [ 24/Oct/13 ]

Author:

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

Message: SERVER-11144 Add tests for option positions in registration unittests
Branch: master
https://github.com/mongodb/mongo/commit/c59072955c5294282d643a28536dbb6e6eeb453b

Comment by auto [ 24/Oct/13 ]

Author:

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

Message: SERVER-11144 Use new option registration interface in enterprise modules
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/edd58fc1da10ba250791714355b038c4ab54f72d

Comment by auto [ 24/Oct/13 ]

Author:

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

Message: SERVER-11144 Fix check for positional option in a sub section
Branch: master
https://github.com/mongodb/mongo/commit/d431dc6ca4b15bed750463fccd334d3b681da73e

Comment by auto [ 24/Oct/13 ]

Author:

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

Message: SERVER-11144 Add unittest entry for linux specific option
Branch: master
https://github.com/mongodb/mongo/commit/1a58dde196331e0719ffe36a398f5ab8a93cbad5

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Fix logic error in mongofiles option registration
Branch: master
https://github.com/mongodb/mongo/commit/ec409bbf8271fa5e10284961fe9106c28cbb6023

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Add positional options to chaining interface
Branch: master
https://github.com/mongodb/mongo/commit/26f1aa281843b901219c49ad5f35e69fe4119bac

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Add attribute to affect what sources an option can have
Branch: master
https://github.com/mongodb/mongo/commit/4686f81fe1ad2dc700ab17748d96e9c24f824579

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Remove old registration interface
Branch: master
https://github.com/mongodb/mongo/commit/0f9712f7a666699b83cee27fa7136ea92aa9e555

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Use new chaining interface in options
Branch: master
https://github.com/mongodb/mongo/commit/1c6ad3e411e431cf81da9f7d514fa20ec4fe792a

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Create unit tests for registration in all option files
Branch: master
https://github.com/mongodb/mongo/commit/22f5a8622731353890352dbaccdebdc937ae8508

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Do not call _exit directly in any options handling functions
Branch: master
https://github.com/mongodb/mongo/commit/89218f62b7ad5114df7e956bec47b4c1f96f1fed

Comment by auto [ 23/Oct/13 ]

Author:

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

Message: SERVER-11144 Chaining interface for option registration
Branch: master
https://github.com/mongodb/mongo/commit/107978292c125ebb6674ad57548f1a4dc8f977d1

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