[DOCS-12993] --fork option will make mongod fail on windows Created: 29/Aug/19  Updated: 30/Oct/23  Resolved: 10/Sep/19

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Joe Drumgoole (Inactive) Assignee: Nathan Contino (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-onboarding-candidate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-3424 Windows documentation improvements Closed
Participants:
Days since reply: 4 years, 19 weeks, 1 day ago
Epic Link: DOCSP-1769

 Description   

Description

Microsoft Windows [Version 10.0.18362.295]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\joe>mongod --version
db version v4.2.0
git version: a4b751dcf51dd249c5865812b390cfd1c0129c30
allocator: tcmalloc
modules: none
build environment:
distmod: 2012plus
distarch: x86_64
target_arch: x86_64

C:\Users\joe>mongod --fork
Error parsing command line: unrecognised option '--fork'
try 'mongod --help' for more information

C:\Users\joe>

 

Should just ignore this option on windows for script compatibility.

 

Scope of changes

  • Update the --fork documentation to note that the option is not supported in Windows.
  • Can borrow language from --syslog

Backport to 3.2

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 01/Oct/19 ]

Author:

{'username': 'nathan-contino-mongo', 'email': 'nathan.contino@mongodb.com', 'name': 'nathan-contino-mongo'}

Message: DOCS-12993: fork option not in mongod.exe
Branch: v3.2
https://github.com/mongodb/docs/commit/fd04500890f7fa775649f29d42b8fefa7b27617e

Comment by Githook User [ 01/Oct/19 ]

Author:

{'username': 'nathan-contino-mongo', 'email': 'nathan.contino@mongodb.com', 'name': 'nathan-contino-mongo'}

Message: DOCS-12993: fork option not in mongod.exe
Branch: v3.4
https://github.com/mongodb/docs/commit/815ea6c0f797c6a273066a61c5ca5bbdc26f7824

Comment by Githook User [ 01/Oct/19 ]

Author:

{'username': 'nathan-contino-mongo', 'email': 'nathan.contino@mongodb.com', 'name': 'nathan-contino-mongo'}

Message: DOCS-12993: fork option not in mongod.exe
Branch: v3.6
https://github.com/mongodb/docs/commit/844772a826eb7db1993487f7e93ad3acbe8fff10

Comment by Githook User [ 01/Oct/19 ]

Author:

{'username': 'nathan-contino-mongo', 'email': 'nathan.contino@mongodb.com', 'name': 'nathan-contino-mongo'}

Message: DOCS-12993: fork option not in mongod.exe
Branch: v4.0
https://github.com/mongodb/docs/commit/1bdbcbbc806ebf78b9edff016c6c94e171045754

Comment by Githook User [ 10/Sep/19 ]

Author:

{'username': 'nathan-contino-mongo', 'email': 'nathan.contino@mongodb.com', 'name': 'nathan-contino-mongo'}

Message: DOCS-12993: fork option not in mongod.exe
Branch: master
https://github.com/mongodb/docs/commit/417bef8f0ebad7ed94170aca8ca07743176cd6e3

Comment by Ravind Kumar (Inactive) [ 29/Aug/19 ]

joe.drumgoole we can document that --fork is not supported for Windows, but as far as ignoring the option, I think you'd need to open a SERVER ticket for a change request.

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