Attempt to avoid test/format getting stuck: check if the cache is full before
transactions start, and check the "stuck" flag if session->txn has been
hijacked for evection.