[ https://issues.apache.org/jira/browse/IGNITE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Pochatkin reassigned IGNITE-20843: ------------------------------------------ Assignee: Mikhail Pochatkin > Introduce job's states > ---------------------- > > Key: IGNITE-20843 > URL: https://issues.apache.org/jira/browse/IGNITE-20843 > Project: Ignite > Issue Type: Improvement > Components: compute > Reporter: Mikhail Pochatkin > Assignee: Mikhail Pochatkin > Priority: Major > Labels: ignite-3 > Attachments: image-2023-11-13-18-23-21-152.png > > > It is proposed to enter 7 states: > # Submitted - a state that shows that the job was correctly created and > accepted by the cluster. Initialization state. > # Queued - a state indicating that the job is in the waiting queue for > execution. > # Executing - a state indicating the job is in execution. > # Completed - a state indicating that the job was executed successfully and > the execution result was returned. > # Failed - a state indicating that a job was unexpectedly terminated during > execution and its restart was unsuccessful for one reason or another (restart > not supported or several restart failed in row). > # Canceling – Job thread is interrupted and the cancel flag is raised. > # Canceled – Job thread is not alive. > > {code:java} > public enum JobState { > SUBMITTED, QUEUED, EXECUTING, FAILED, COMPLETED,CANCELING, CANCELED > } {code} > > !image-2023-11-13-18-23-21-152.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)