[SERVER-7180] Separate name for the ConfigServer binary Created: 26/Sep/12  Updated: 06/Dec/22  Resolved: 21/Mar/18

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

Type: New Feature Priority: Minor - P4
Reporter: Akshay Kumar Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Participants:

 Description   

Instead of overloading the mongod process name can we just have the server test the name of the executable that spawned it and change behaviour. So basically create a symlink /usr/sbin/mongoc -> /usr/sbin/mongod and if argv[0] ends with mongoc enable --configsvr.

It's backward compatible, keeps things consistent (mongoc, mongod, mongos), makes it easy to tell at a glance what's running and has an ancillary benefit of shortening the argument list.


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