Skip to content

Self-restarting cache pruner #5911

@jc-harrison

Description

@jc-harrison

The flowmachine server runs a repeating task to shrink the query cache at regular intervals. However, if an error occurs during a cache shrink, this task is killed and does not restart.

It would be preferable for the server to restart the cache-prune task on failure. This could be achieved by forcing an error during cache-pruning to bring down the docker container, but this would have the adverse impact of interrupting any flowmachine queries running at the same time. I think it would probably be preferable to log the error message and restart the cache-pruning task without interrupting the container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FlowMachineIssues related to FlowMachinebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions