Closed andrew-nowak closed 7 months ago
Seen on auth, metadata-editor, leases, cropper, collections, media-api (merged by @andrew-nowak 8 minutes and 46 seconds ago) Please check your changes!
Seen on image-loader, thrall, usage (merged by @andrew-nowak 8 minutes and 52 seconds ago) Please check your changes!
What does this change?
If the Runnable in a scheduler throws, the scheduler will stop and no longer run, even if future executions would succeed.
eg. If a quota report fails to parse, sending through a fixed report will still leave no quotas available until media-api is redeployed/restarted.
I checked the codebase for other schedulers and spotted that Reaper would be susceptible to the same problem, so put a try/catch in there too.
How should a reviewer test this change?
A bit hard to trigger an error like this. Possibly we can drop a malformed report into the mail bucket locally or on TEST? give me a shout if you'd like to pair on trying it.
How can success be measured?
Intermittent failures do not cause consistent failure đź‘Ť