[SERVER-15259] exitCleanly should not be called in error cases Created: 15/Sep/14 Updated: 23/Mar/15 Resolved: 30/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mark Benvenuto |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Currently mongoDbMain always calls exitCleanly on the return of initAndListen. This includes cases like EXIT_UNCAUGHT when the journal fails to apply cleanly. We should only ever exitCleanly in the EXIT_CLEAN case. |