Saketa Chalamchala created HDDS-17401:
-----------------------------------------

             Summary: Gracefully cancel snapshot diff job
                 Key: HDDS-17401
                 URL: https://issues.apache.org/jira/browse/HDDS-17401
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Saketa Chalamchala
            Assignee: Saketa Chalamchala


Currently snapshot diff jobs when they are cancelled only update the job 
metadata to a state CANCELLED. The snapshot diff task continues to run on the 
executor until it finishes or fails and then it is queued for cleanup. 
While the cancelled job is running on the executor since it's jobId is 
cancelled or overwritten by a new job in the snapshot diff table any generated 
report entries are not accessible.

We need a more graceful way to cancel running snapshot diff jobs that will also 
interrupt the existing job and performs cleanup. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to