The code today checks for _inUnitOfWork() when it should be checking for _isActive().
Additionally, both WiredTiger and ephemeralForTest will have the same logic so we can move it up into the RecoveryUnit.
The code today checks for _inUnitOfWork() when it should be checking for _isActive().
Additionally, both WiredTiger and ephemeralForTest will have the same logic so we can move it up into the RecoveryUnit.