Skip to content

FIREFLY-2143: replicas take turns cleaning; remove cleanup CronJob - #2045

Merged
loitly merged 1 commit into
rc-2026.3from
FIREFLY-2143-simplify-cleanup-script
Oct 20, 2026
Merged

loitly merged 1 commit into
rc-2026.3from
FIREFLY-2143-simplify-cleanup-script

Conversation

@loitly

@loitly loitly commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Ticket: https://jira.ipac.caltech.edu/browse/FIREFLY-2143

Follow-up to #2044. The shared work area no longer needs an external CronJob: each replica's cleanup.sh sweeps both work areas on its own schedule, and they take turns. A lock (.cleanup.lock) lets one replica sweep at a time, and a last-sweep record (.cleanup.last) skips an area swept within CLEANUP_INTERVAL, so it is cleaned about once per interval however many replicas run.

@loitly loitly self-assigned this Oct 20, 2026
@loitly
loitly changed the base branch from dev to rc-2026.3 October 20, 2026 16:58
@loitly
loitly merged commit 535a310 into rc-2026.3 Oct 20, 2026
2 checks passed
@loitly
loitly deleted the FIREFLY-2143-simplify-cleanup-script branch October 20, 2026 18:48
@robyww robyww added this to the 2026.3 milestone Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants