You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2024/10/30 22:52:00 UTC

[jira] [Created] (CASSANDRASC-155) Fix dangling restore jobs

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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org