[SERVER-5187] mongod --shutdown flag should ignore the fork option Created: 02/Mar/12  Updated: 11/Jul/16  Resolved: 05/Mar/12

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 2.0.3, 2.1.0
Fix Version/s: 2.0.5, 2.1.1

Type: Bug Priority: Major - P3
Reporter: Michael A. Fiedler Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongod on linux


Issue Links:
Depends
is depended on by SERVER-3549 Use --shutdown in init scripts Closed
Related
related to SERVER-5211 Refactor CmdLine::store Closed
Operating System: Linux
Participants:

 Description   

When using mongod -f /etc/mongod.conf --shutdown to stop a service from the init script, the fork = true statement in the config applies to the shutdown process, and returns immediately, not confirming that the server has shutdown properly, instead of blocking and waiting for the server to stop.



 Comments   
Comment by auto [ 19/Apr/12 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Ignore --fork and --logpath when using --shutdown SERVER-5186 SERVER-5187
Branch: v2.0
https://github.com/mongodb/mongo/commit/d99695ccc20af5a56bd624bf6a3aa66c7493d592

Comment by auto [ 05/Mar/12 ]

Author:

{u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Ignore --fork and --logpath when using --shutdown SERVER-5186 SERVER-5187
Branch: master
https://github.com/mongodb/mongo/commit/fa2e2ef95c5c934eef63fff4b98d5eb060c56539

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