Currently, CheckMetadataConsistency relies on MONGO_UNREACHABLE to handle scenarios that should not occur. In the worst-case scenario, we prefer to return a user error rather than crash the node due to an unexpected parameter.
The objective of this ticket is to replace all instances where MONGO_UNREACHABLE is called with a tassert.