How to cancel a Hyperscale job
To cancel a Hyperscale Job while the Post Load task of the execution is running, the /executions/{id}/cancel
endpoint of JobExecution API can be used. Here {id} is the Hyperscale Execution Id that needs to be canceled.
As the cancellation process starts for a Hyperscale execution, the execution status becomes CANCEL_INITIATED. Whenever the cancellation process completes for the Execution, the Execution status becomes CANCELLED.
During cancellation, the Hyperscale application stops the processes running on hyperscale with respect to that execution and closes the database connections made with the target database.
Hyperscale doesn’t stop any running processes on the target database. Hyperscale Job cancellation might leave the target database in an inconsistent state.