[SERVER-7332] Separate command line processing from server startup in mongod and mongos. Created: 11/Oct/12  Updated: 11/Jul/16  Resolved: 26/Oct/12

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

Type: Task Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
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-7118 Integrate Enterprise Build into Build... Closed
is depended on by SERVER-7336 SSL Password should not be in clear t... Closed
Related
is related to SERVER-5112 Need a better story for startup-time ... Closed
Participants:

 Comments   
Comment by auto [ 26/Oct/12 ]

Author:

{u'date': u'2012-10-16T15:42:25-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: SERVER-7332 Split command line processing from server startup in mongos.
Branch: master
https://github.com/mongodb/mongo/commit/47641cc30b77f80172e1d6de77de8edee6579c7c

Comment by auto [ 23/Oct/12 ]

Author:

{u'date': u'2012-10-23T08:02:35-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Fix up fail points to be compatible with parsing command line before running global initializers.

SERVER-7332
Branch: master
https://github.com/mongodb/mongo/commit/5589eb5e541eecc80cb94b54139b289c8e6ce06c

Comment by auto [ 23/Oct/12 ]

Author:

{u'date': u'2012-10-16T15:25:52-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: SERVER-7332 Split command line processing from server startup in mongod.
Branch: master
https://github.com/mongodb/mongo/commit/ffd8aec961a751aa5adfa79070f26cc21a560ce5

Comment by auto [ 23/Oct/12 ]

Author:

{u'date': u'2012-10-23T07:53:35-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Fix missing fassert number, SERVER-7332.
Branch: master
https://github.com/mongodb/mongo/commit/c5b1be7817ebce9502a4a0a9ac87fb9a820509b0

Comment by auto [ 23/Oct/12 ]

Author:

{u'date': u'2012-10-16T09:24:39-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Refactor the ntservice module, to separate parameter processing from service startup.

SERVER-7332
Branch: master
https://github.com/mongodb/mongo/commit/f5c70af4dca92270a00786963bccbf3fc359f5e3

Comment by auto [ 15/Oct/12 ]

Author:

{u'date': u'2012-10-10T21:06:36-07:00', u'name': u'schwerin@10gen.com', u'email': u'schwerin@10gen.com'}

Message: SERVER-7332 Split command line processing from startup in db.cpp, part 1.
Branch: master
https://github.com/mongodb/mongo/commit/f737a6f12cbbd8559921a91b17157e8152dd2b10

Comment by auto [ 15/Oct/12 ]

Author:

{u'date': u'2012-10-10T20:39:02-07:00', u'name': u'schwerin@10gen.com', u'email': u'schwerin@10gen.com'}

Message: SERVER-7332 In db.cpp, construct command line options configuration in a separate function.
Branch: master
https://github.com/mongodb/mongo/commit/e11b8976f1fd776de09559f99e4c339d0da287a7

Comment by auto [ 15/Oct/12 ]

Author:

{u'date': u'2012-10-08T14:48:05-07:00', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-7332 Censor command line explicitly, change CmdLine::store to take a vector of strings.

This patch separates the process of censoring the process argv array (affecting the output of ps on
linux) from the process of parsing the command line. It then changes CmdLine::store to take a
vector of strings, instead of a mutable char**, for later use in the init system's command line
processing role.

Unit tests for the new censoring code, which is more throrough than the old, are included, and the
"command" to get the contents of the command line is moved to dbcommands_generic, to make linking
cmdline.cpp into unit tests easier.
Branch: master
https://github.com/mongodb/mongo/commit/6e326668c3d65b4e9af779b3c667c5b2c09bfaf6

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