docs: private void failover(long globalModVersionOfFailover) {
  		if (!executionGraph.getRestartStrategy().canRestart()) {
  			executionGraph.failGlobal(new FlinkException("RestartStrategy validate fail"));
  		}
  		else {
  			JobStatus curStatus = this.state;
  			if (curStatus.equals(JobStatus.RUNNING)) {
  				cancel(globalModVersionOfFailover);
  			}
  			else if (curStatus.equals(JobStatus.CANCELED)) {
  				reset(globalModVersionOfFailover);
  			}
  			else {
  				LOG.info("FailoverRegion {} is {} when notified to failover.", id, state);
  			}
  		}
  	}