TLDR: Investigate an alternate method of providing information on previous unclean shutdown to catalog initialization functions during startup.
The startingAfterUncleanShutdown decorator was introduced in SERVER-33159 and is used when loading the catalog and reconciling unrecognized idents in the filesystem. The value of this decorator is derived from the state of the mongod.lock file at startup.
The functions that use this decorator are also used during rollback which requires us to have to unset this decorator before completing the startup process.
To stop using the decorator, we should consider retaining the previous shutdown state in the mongod startup function and pass that information directly to the catalog initialization process.
- has to be done after
-
SERVER-48050 FCV should be initialized before attempting to restart in-progress index builds
- Closed
-
SERVER-49163 extend internal index build interfaces to accept resumable index build information
- Closed
- is related to
-
SERVER-33159 RTT storage recovery from unclean shutdown expects all WT tables to exist
- Closed