Yifan Cai created CASSANDRASC-155:
-------------------------------------

             Summary: Fix dangling restore jobs
                 Key: CASSANDRASC-155
                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-155
             Project: Sidecar for Apache Cassandra
          Issue Type: Bug
          Components: Rest API
            Reporter: Yifan Cai
            Assignee: Yifan Cai


In certain rare circumstances, a restore job can be dangling. The tasks of such 
restore job continue to run and fail. The restore job cannot be cleaned up.
It is caused by the improper shrinking performed in RestoreJobDiscoverer, 
leading to such restore job being ignored.

The patch fixes the issue by correcting the shrinking and fail the tasks of the 
expired jobs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to