Skip to content

Restore scheduling - #1058

Open
ihardy wants to merge 5 commits into
release-2.19.xfrom
restore-scheduling
Open

Restore scheduling#1058
ihardy wants to merge 5 commits into
release-2.19.xfrom
restore-scheduling

Conversation

@ihardy

@ihardy ihardy commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The Grails 5 upgrade removed @EnableScheduling from the application. As a result, grails-okapi’s scheduled heartbeat and federation cleanup tasks never ran. After pod restarts, instance records and locks became stale, and tenant requests could wait indefinitely for locks that would never be released.

The fix restores @EnableScheduling, allowing each pod to update its heartbeat and the federation leader to identify and clean up stopped instances and their locks. Existing orphaned locks may still require a one-time manual cleanup.

@ihardy
ihardy requested a review from jakub-id September 4, 2026 15:44
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.

1 participant