[SERVER-67719] Convert ExitCode::fail's to more descriptive values Created: 30/Jun/22  Updated: 05/Dec/22  Resolved: 05/Jul/22

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

Type: Improvement Priority: Major - P3
Reporter: Matt Kneiser Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

There are currently 64 references to ExitCode::fail, whose value is 1. However, using a catch-all exit code like fail for the mongod or a related process is not as helpful as a descriptive code like `badOptions` or `netError`. These descriptive exit codes point to the general class of the issue and can be greatly helpful to anyone debugging a server crash or unexpected exit.


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