Skip to content

[Bug] Quartz scheduled jobs are not persisted across Cryostat restarts #1155

@andrewazores

Description

@andrewazores

Current Behavior

Cryostat only uses the in-memory Quartz scheduler for all tasks such as Automated Rule periodic archival, discovery plugin ping, fixed-duraton recording stoppage update, etc. This means that each time Cryostat is restarted (due to crash, or due to upgrade) the schedules for these events are interrupted and restarted. For example, if an Automated Rule has an archival period of 5 minutes, then restarting Cryostat will result in the next archived copy being taken 5 minutes after restart - not 5 minutes after the last copy was taken.

It is possible to configure Quartz to persist these items to the default database, which would allow for more consistent scheduled tasks across Cryostat restarts.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Version:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions