There's a duplicate of resetting dryrun to false in the below code:
__rollback_to_stable_finalize(S2C(session)->rts); /* Reset the RTS configuration to default. */ S2C(session)->rts->dryrun = false;
Where __rollback_to_stable_finalize is defined as:
static void __rollback_to_stable_finalize(WT_ROLLBACK_TO_STABLE *rts) { rts->dryrun = false; }
This ticket is to verify that and remove the duplicate code.